diff options
author | Rich Hickey <richhickey@gmail.com> | 2006-04-30 18:20:36 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2006-04-30 18:20:36 +0000 |
commit | 96db6cebb28b28f30fdc9b7232a8172a18f52ace (patch) | |
tree | f4ef8f97a7f2823730889b74f026987c8184c521 /src/lisp/test.lisp | |
parent | b5d91b20e71866ed881e2d8fa2f8164162b0a4e8 (diff) |
added letfn
Diffstat (limited to 'src/lisp/test.lisp')
-rw-r--r-- | src/lisp/test.lisp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lisp/test.lisp b/src/lisp/test.lisp index bbaf6e0a..f3427df2 100644 --- a/src/lisp/test.lisp +++ b/src/lisp/test.lisp @@ -34,4 +34,10 @@ (defn always (x) (fn () x)) +(defn fletfn (x) + (letfn ((a (b) b) + (c (d) (a d)) + (d (x) (d a))) + (c x))) + (defn fr (a b & c) c)
\ No newline at end of file |