Answer the question
In order to leave comments, you need to log in
How to implement packing/unpacking of lists in lisp/scheme?
Good afternoon! I know that in scheme it is possible to pack all the passed function arguments into a list:
(define (function . items) (some-computation items))
(function 1 2 3 4)
(define items (list 1 2 3 4))
(function <синтаксический элемент> items)
(function . items)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question