[racket] multi-line strings in ISL?

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sun Feb 17 17:47:46 EST 2013

You would have to switch to ASL and use display. -- Matthias



On Feb 17, 2013, at 5:43 PM, Mitchell Wand wrote:

> Is there a good way to create multi-line strings in ISL?  For example, instead of producing output in the form
> 
> (list
>  "(* 11                                                                           "
>  "   22                                                                           "
>  "   33                                                                           "
>  "   44                                                                           "
>  "   55)                                                                          ")
> 
> [where here I've padded the strings out to 80 characters to force the Racket printer to produce each string on a separate line.]
> 
> I'd like to have a program that produced the output
> 
> (* 11
>    22
>    33
>    44
>    55)
> 
> preferably without quotations.  When I put things like #\n #\newline or #\r in the middle of a string, ISL prints them out like #\n, #\newline, or #\r.
> 
> Any ideas?  What have I overlooked?
> 
> --Mitch
> 
> 
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130217/d0d0bff1/attachment.html>

Posted on the users mailing list.