Thanks for the explanation. My assumption was that evaling a compiled function would not work.
When I tried it I was really surprised that it did for some simple cases. I think it would be better if it never worked. This inconsistent behavior is confusing. Anyway, the workaround I found is to call the 'invoke' method of my compiled functions. So far so good. /Gergely On Monday, October 15, 2012 6:28:51 PM UTC+2, Alan Malloy wrote: > > Evaluating function literals is not intended to work; that it works > for non-closure functions should be treated as a coincidence. > > On Oct 15, 2:19 am, Gergely Szabó <gergel...@gmail.com> wrote: > > Hello, > > > > could someone please explain the behavior that is shown in the gist > below? > > > > https://gist.github.com/3891587 > > > > Regards, > > Gergely > -- 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