I was considering putting this in Rich's Clojure poll, but I wasn't
sure it was broken yet.

Is there a cleaner way to create local functions than
(let [foo (fn [x]
                ...)]
   (foo 42))

?

I find that syntax to be slightly annoying, because you could end up
with multiple lines and a good amount indentation even in small local
functions.

I would like to write a macro to improve this, but I don't see how you
could ever end up with

(def bar [x]

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

Reply via email to