You might have a difficult time getting other Clojure coders to adopt the practice in their code, but would this be almost as good?
(let [x 2] code) Achieving that would be as simple as hand-indenting it that way, or adjusting the auto-indenter of your favorite text editor to do it that way. A couple of minutes of perusing clojure-mode.el for emacs didn't make it obvious to me how to do that, but I suspect it wouldn't be difficult. Andy On Mar 7, 2012, at 10:22 PM, Mark Engelberg wrote: > Going back to the original poster's question, I think if I could make only > one change to Clojure's syntax to improve readability, I'd take a page from > other functional languages like F# and Racket and add a way to bind local > variables that doesn't indent. So, for example, > > (let x 2) > code > > would behave like the current: > (let [x 2] > code) > > -- > 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 -- 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