Discussion of Scheme and Racket
2 posts • Page 1 of 1
This is an implementation of the standard procedure *list*. I believe it does what you want.
Notice that you have posted this in the Scheme section so this is a Scheme implementation. Scheme uses the word procedure instead of function.
Code: Select all
(define (my-list . args) args) (my-list 1 2 3 4) ; ==> (1 2 3 4)