Well, I asked this, because I was not sure whether a pretty-print function
is the same as a formatting function.
I thought of the former to have datastructures as its input -> thus working
only on well structured code, as the second would accept more "raw" text,
maybe not totally correct (missing parentheses, ...), thus being more
permissive, while still doing its best to format what it is presented with ?

2009/1/29 Michael Wood <esiot...@gmail.com>

>
> On Wed, Jan 28, 2009 at 6:52 PM, Laurent PETIT <laurent.pe...@gmail.com>
> wrote:
> > Hello,
> >
> > Do you know if there is a clojure code formatter, written either in
> clojure
> > or java ?
>
> Have a look here:
>
> http://groups.google.com/group/clojure/search?group=clojure&q=pretty+print&qt_g=Search+this+group
>
> > It could take a string or InputStream/Reader or File as its input, and
> > return a well formatted String/outputStream/Writer ?
> >
> > Indeed, I don't want to reinvent the wheel for clojure-dev, but if it is
> > written in Python/Ruby/emacs lisp ... I'll need to do so, though ;-)
>
> --
> Michael Wood <esiot...@gmail.com>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to