Also, identity works too: #(identity "foo") ; equivalent to (fn [] "foo")
On Aug 2, 10:04 am, Meikel Brandmeyer <m...@kotka.de> wrote: > Hi, > > Am 02.08.2009 um 17:56 schrieb Sean Devlin: > > > 1. Use quote > > > #(quote "foo") > > For this approach I would recommend `do`: > > (let [x 5] #(quote x)) ; *meeep* > (let [x 5] #(do x)) > > Other than that I would recommend `constantly` > in this case, because it carries the intention, > while the #(do ..) looks magic in the first moment. > > Sincerely > Meikel > > smime.p7s > 2KViewDownload --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---