On Tue, Nov 18, 2008 at 1:05 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Your implementation needs to get the whole value of pr-str before
> deciding that it is too long to put on a single line.

That's certainly what it does, but I don't think it has to.  My plan
was to use *print-length* and *print-level* to cause pr-str to bail
out if it's getting too long.  I can't decide if this general approach
is an ugly hack or an elegant re-use of existing code.

> But then, your implementation actually works and doesn't run out of
> stack space on short lists. :-)

I wanted to post what I had right away, but I will now take the time
to understand your code, so I can come up with own opinion about how
we ought to proceed.

--Chouser

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