On Fri, Jun 11, 2010 at 12:00 PM, russellc <russell.christop...@gmail.com>wrote:

> (defn foo []
>        (letfn (bar [acc val]
>               acc)
>          (reduce bar {} (range 1 10))))
>
> doesn't compile
> java.lang.IllegalArgumentException: Don't know how to create ISeq
> from: clojure.lang.Symbol
>

Ahh that dreaded error.

(defn foo []
       (letfn [(bar [acc val] acc)] ; note brackets here
         (reduce bar {} (range 1 10))))

David

-- 
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