On Nov 26, 2008, at 3:22 PM, Mark Volkmann wrote: > I entered this in a REPL. > > (def myClosure #(prn "Hello")) > > How can I execute the closure in myClosure now?
Clojure user=> (def myClosure #(prn "Hello")) #'user/myClosure user=> (myClosure) "Hello" nil user=> --Steve --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---