From: timsuth@... (Tim Sutherland) Date: 2003-01-23T14:03:01+09:00 Subject: Re: Applying an operator to a list In article , Travis Whitton wrote: >Hello all, I have a quick question: >Is it possible to create a Lisp style apply function with Ruby, and >would I have to use eval to create one? The function would work as >follows: Use '*': def f(a, b) a+b end data = [1, 2] c = f(*data) # => 3