summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-08-09 20:06:15 +0200
committernea <nea@nea.moe>2023-08-09 20:06:15 +0200
commit0b518030fcdffb68e6b62ffddfe4b784db9f272c (patch)
treea4dbed21824703010e7f2d28008b1d8bdbb1cfe9 /test
parentfc3911c68a4a8a0ff916b858e5fe029ed2ebe493 (diff)
downloadnealisp-0b518030fcdffb68e6b62ffddfe4b784db9f272c.tar.gz
nealisp-0b518030fcdffb68e6b62ffddfe4b784db9f272c.tar.bz2
nealisp-0b518030fcdffb68e6b62ffddfe4b784db9f272c.zip
Add rest arguments
Diffstat (limited to 'test')
-rw-r--r--test/res/test.lisp4
1 files changed, 4 insertions, 0 deletions
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))