You don't have the locals clearing changes Richard.

Rich Hickey, I confirm that this also causes an NPE on my setup.

Clojure new branch 6d40a76e8a012909f2d2a594ce66a78318889799
OS X 10.6 JDK 1.6 64bit

David

On Wed, Dec 9, 2009 at 10:46 PM, Richard Newman <holyg...@gmail.com> wrote:

> 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 clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to