From 0b518030fcdffb68e6b62ffddfe4b784db9f272c Mon Sep 17 00:00:00 2001 From: nea Date: Wed, 9 Aug 2023 20:06:15 +0200 Subject: Add rest arguments --- test/res/test.lisp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/res/test.lisp b/test/res/test.lisp index cc20808..79c96dc 100644 --- a/test/res/test.lisp +++ b/test/res/test.lisp @@ -3,6 +3,10 @@ (myfun :myfunworks) ((lambda (a) (debuglog a)) :atom) (debuglog a) +(defun testlog (a ...) (seq + (debuglog "a" a) + (debuglog "..." ...))) +(testlog :test :work :whatever) (def helloworld (pure "hello world")) (debuglog helloworld (helloworld)) (debuglog "+" (+ 1.2 15)) -- cgit