You could use println instead of prn as the REPL printer.

(clojure.main/repl :print println)

This seems to break the REPL a bit though, so you may want to figure out 
how to put it in the startup,

On Thursday, 12 March 2015 11:08:28 UTC, Hildeberto Mendonça wrote:
>
> Hello,
>
> Running the following code in the repl:
>
> (str "a line and then \n another line")
>
> returns:
>
> "a line and then \n another line"
>
> Is there a way to ask the repl to interpret that \n char in the string? I 
> just want to produce a better output without using print/println.
>
> Thanks in advance.
>
> -- 
> 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