This won't work, as ClojureScript doesn't includes a compiler in the
runtime. You can't eval ClojureScript code at runtime and you can't
read new anonymous functions in.

On Fri, Sep 7, 2012 at 9:18 AM, Shantanu Kumar <[email protected]> wrote:
> Hello,
>
> Anonymous functions with #() notation (example below) expand using fn*
> by `clojure.core/read-string`, but in `cljs.reader/read-string` it
> throws an error:
>
> Argument passed to `cljs.reader/read-string`: "#(do true)"
>
> Error: Could not find tag parser for (do in ("inst" "uuid" "queue")
>
> Is there a built-in tag parser for anonymous functions in
> ClojureScript? Thanks in advance for any pointers.
>
> Shantanu
>
> --
> 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

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

Reply via email to