summaryrefslogtreecommitdiff
path: root/thebug.lisp
blob: ad87bd7c1cfeb71c2d0a3318a0cd3b6460ba874c (plain)
1
2
3
4
5
6
7
8
9
(defun! foo (x)
  (lambda (y)
    (+ x y)))

(setq! bar (foo 10))
(setq! baz (foo 100))

(print! (funcall bar 4))