diff --git a/TODO b/TODO index c2a43efd..f34af2fe 100644 --- a/TODO +++ b/TODO @@ -12,7 +12,9 @@ Working TODO list: - Constructs require for self-hosting - - when + - support for pure varargs functions + see test2.scm, this is not quite implemented in the compiler + - eval there is no concept of macro expansion, probably other deficiencies as well diff --git a/test2.scm b/test2.scm index 2ff33cf1..29114e4b 100644 --- a/test2.scm +++ b/test2.scm @@ -10,3 +10,5 @@ (write (when (lambda () #t) 'true)) (write (when (lambda () #f) 'false)) + +((lambda test (write test)) 1 2 3 4)