No, this is not currently possible. One problem is that in a call like (foo bar), it is not possible at compile time to determine bar's type and it may very well be an impure function.
Regards, - J. On Mon, Jul 27, 2009 at 10:30 AM, André <mestrero...@gmail.com> wrote: > > Hi to everyone, it's my first post here on the group, I'm brazilian > (english's not my mother tongue -- sorry if I'm assassinating it), I'm > a Java programmer starting to drink the clojure kool-aid. > > That said, after reading about clojure I think I quite understand what > pure functions are, but I didn't understood if clojure knows whether a > function is pure or note. You could look for #"(.*!)" methods in the > source to get an idea, but is there any way to positively tell if a > function is pure or not? I mean if e.g. I was auditing source code I > didn't write and wanted to know if they used pure functions or not? > > Thanks, > > André > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---