Re: [racket] list splat into variable arity

2011-11-23 Thread Louis-Philippe
great! thanks! 2011/11/23 Neil Van Dyke > Tony Garnock-Jones wrote at 11/23/2011 04:14 PM: > > On 2011-11-23 4:12 PM, Louis-Philippe wrote: >> >> >>> I looked around and couldn't find how to expand a list to fit as >>> multiple function arguments, for variable arity functions rest. >>> >>> >> (

Re: [racket] list splat into variable arity

2011-11-23 Thread Neil Van Dyke
Tony Garnock-Jones wrote at 11/23/2011 04:14 PM: On 2011-11-23 4:12 PM, Louis-Philippe wrote: I looked around and couldn't find how to expand a list to fit as multiple function arguments, for variable arity functions rest. (apply + '(1 2 3)) ? You can also do: (apply + 1 2 3 '(

Re: [racket] list splat into variable arity

2011-11-23 Thread Tony Garnock-Jones
On 2011-11-23 4:12 PM, Louis-Philippe wrote: > I looked around and couldn't find how to expand a list to fit as > multiple function arguments, for variable arity functions rest. (apply + '(1 2 3)) ? _ For list-related administrative tasks: http:/

[racket] list splat into variable arity

2011-11-23 Thread Louis-Philippe
Hi, I looked around and couldn't find how to expand a list to fit as multiple function arguments, for variable arity functions rest. must be simple... regards, L-P _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/u