summaryrefslogtreecommitdiff
path: root/pit/test/thebug.lisp
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-07-09 23:51:55 -0400
committerLLLL Colonq <llll@colonq>2026-07-09 23:51:55 -0400
commit2bdcaf319b1d74ffbaccf08a58336f804761beab (patch)
treec21de6df74ec79b5574ad2b89fcc275d10847802 /pit/test/thebug.lisp
Refactor into monorepo
Diffstat (limited to 'pit/test/thebug.lisp')
-rw-r--r--pit/test/thebug.lisp9
1 files changed, 9 insertions, 0 deletions
diff --git a/pit/test/thebug.lisp b/pit/test/thebug.lisp
new file mode 100644
index 0000000..ad87bd7
--- /dev/null
+++ b/pit/test/thebug.lisp
@@ -0,0 +1,9 @@
+(defun! foo (x)
+ (lambda (y)
+ (+ x y)))
+
+(setq! bar (foo 10))
+(setq! baz (foo 100))
+
+(print! (funcall bar 4))
+