Closed rmu75 closed 3 years ago
I think a more sensible behaviour is possible. Either error or do like in scheme (bind x to the list of arguments):
((lambda x x) 1 2 3)) => (1 2 3)
Thanks! I think I should do what Common Lisp does and give an error.
By the way, uLisp can bind to the list of arguments using &rest:
> ((lambda (&rest x) x) 1 2 3) (1 2 3)
I think a more sensible behaviour is possible. Either error or do like in scheme (bind x to the list of arguments):