On Aug 7, 11:10 am, Eric Lavigne <lavigne.e...@gmail.com> wrote:
> > > The pprint function in the Clojure standard library indents Clojure
> > source
> > > code.
> > >      http://richhickey.github.com/clojure/clojure.pprint-api.html
>
> > Er, won't you lose all comments and have reader macros expanded if you
> > use read/pprint to do the transformation?
>
> Oops. I think I could live without comments (Docstrings all the way!),
>
> but I don't want
>
>      #(+ % 1)
>
> turning into
>
>      (fn* [p1__945#] (+ p1___945# 1))

You would also lose all the newlines, and there's no way pprint would
put them in places as intelligent as you would.

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

Reply via email to