Yeah :-) I want to format a string returned by a function, instead of the
side effects produced by print/ln. I've checked the source code of the
function (pst) to see what it uses to print the stack trace and it's using
println. So, I guess this is the only option I have for the moment.

Now, I just have to hide that nil at the end.

On Thu, Mar 12, 2015 at 4:20 PM, Akiva Schoen <akiva.sch...@gmail.com>
wrote:

> Oops. Missed the bit about not using println. Ignore my last email.
>
> On Thu, Mar 12, 2015 at 10:19 AM Akiva Schoen <akiva.sch...@gmail.com>
> wrote:
>
>> (println) does the trick for me.
>> On Thu, Mar 12, 2015 at 8:30 AM Cecil Westerhof <cldwester...@gmail.com>
>> wrote:
>>
>>> 2015-03-12 13:51 GMT+01:00 Alex Miller <a...@puredanger.com>:
>>>
>>>> Try print-str and println-str.
>>>>
>>>
>>> ​I am not the OP, but I tried that and it does not work. At the moment
>>> the only thing that I got working is:
>>>     (printf "a line and then \n another line")
>>>
>>> But the OP does not want to use that. (Do not ask me why.)
>>>
>>> --
>>> Cecil Westerhof
>>>
>>> --
>>> 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 unsubscribe from this group and stop receiving emails from it, send
>>> an email to clojure+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>  --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Hildeberto Mendonça, Ph.D
Blog: http://www.hildeberto.com
Community: http://www.cejug.net
Twitter: https://twitter.com/htmfilho

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to