From db58f43065c3b397754bb9efcb4a7376b2538131 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Fri, 23 Oct 2026 20:47:43 -0400 Subject: pit: Add tests, fix binding bug --- pit/examples/thebug.pit | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pit/examples/thebug.pit (limited to 'pit/examples/thebug.pit') diff --git a/pit/examples/thebug.pit b/pit/examples/thebug.pit new file mode 100644 index 0000000..ad87bd7 --- /dev/null +++ b/pit/examples/thebug.pit @@ -0,0 +1,9 @@ +(defun! foo (x) + (lambda (y) + (+ x y))) + +(setq! bar (foo 10)) +(setq! baz (foo 100)) + +(print! (funcall bar 4)) + -- cgit v1.3.1