thank u very much:)
2014-07-20 18:29 GMT+03:00 Jens Axel Søgaard <jensa...@soegaard.net>: > (define (plus . xs) ; notice the . xs . The arguments are passed as a > list in xs. > (displayln "received: ") > (displayln xs) > (apply + xs)) > > 2014-07-20 16:07 GMT+02:00 קוראל אלימלך <coral2...@gmail.com>: > > how can i define a function that gets a not known number of parameters > > (like the + function: > > that i can send (+1 2 ) or (+ 1 2 3 ) (+1 2 3 4 )....) > > > > thank u :) > > > > ____________________ > > Racket Users list: > > http://lists.racket-lang.org/users > > > > > > -- > -- > Jens Axel Søgaard >
____________________ Racket Users list: http://lists.racket-lang.org/users