blob: 75f6107d1a9db2f0fdee480b0a5b158c021cca62 [file] [log] [blame]
swissChili484295d2021-07-09 21:25:55 -07001; (load "../../lib/lisp/std/std.lisp")
2
swissChili15f1cae2021-07-05 19:08:47 -07003(defun with-optional (required (optional 3))
4 (+ required optional))
5
swissChili484295d2021-07-09 21:25:55 -07006(defun takes-varargs (& rest)
7 (print rest))
8
swissChili15f1cae2021-07-05 19:08:47 -07009(defun main ()
swissChili484295d2021-07-09 21:25:55 -070010 (print "hi")
11 (takes-varargs 1 2 3 4))