Does not happen for me through Slime or raw REPL.
user> (ns test.letfn)
(defn debug [n]
(letfn [(even [n]
(if (== n 0)
true
(odd (- n 1))))
(odd [n]
(if (== n 0)
false
(even (- n 1))))]
(odd n)))
#'test.letfn/debug
test.letfn> (debug 5)
true
test.letfn> (debug 4)
false
Clojure: 76e7c4317dc3eac80c4908ac5e5fb885e302b2a4
GNU Emacs 22.3.1 (i386-apple-darwin9.7.0, Carbon Version 1.6.0)
of 2009-07-25 on gs674-seijiz.local
(Hmm, I thought I was running 23!)
$ uname -a
Darwin wheeljack 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15
16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
$ java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-9M3125)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en