<div dir="ltr">I don&#39;t know if it is appropriate in your setting, but you could use the racket/pretty library (where you can specify a column width and it will make an attempt to use that width).<div><br></div><div>Or, if these are values printing in DrRacket, then you can change the width of the window before they are returned in the REPL and that will control how wide they are printed. It may help to use the horizontal mode (the &quot;View&quot; menu&#39;s &quot;Use Horizontal Layout&quot; menu item).</div>
<div><br></div><div style>Robby</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 17, 2013 at 4:43 PM, Mitchell Wand <span dir="ltr">&lt;<a href="mailto:wand@ccs.neu.edu" target="_blank">wand@ccs.neu.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Is there a good way to create multi-line strings in ISL?  For example, instead of producing output in the form<div>
<br></div><div><div><font face="courier new, monospace">(list</font></div><div><font face="courier new, monospace"> &quot;(* 11                                                                           &quot;</font></div>

<div><font face="courier new, monospace"> &quot;   22                                                                           &quot;</font></div><div><font face="courier new, monospace"> &quot;   33                                                                           &quot;</font></div>

<div><font face="courier new, monospace"> &quot;   44                                                                           &quot;</font></div><div><font face="courier new, monospace"> &quot;   55)                                                                          &quot;)</font></div>

</div><div><font face="courier new, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">[where here I&#39;ve padded the strings out to 80 characters to force the Racket printer to produce each string on a separate line.]</font></div>

<div><br></div><div>I&#39;d like to have a program that produced the output</div><div><br></div><div><span style="font-family:&#39;courier new&#39;,monospace">(* 11</span><br></div><div><font face="courier new, monospace">   22</font></div>

<div><font face="courier new, monospace">   33</font></div><div><font face="courier new, monospace">   44</font></div><div><font face="courier new, monospace">   55)</font></div><div><font face="courier new, monospace"><br>

</font></div><div><font face="arial, helvetica, sans-serif">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.</font></div>

<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Any ideas?  What have I overlooked?</font></div><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><font face="arial, helvetica, sans-serif">--Mitch</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><br></div></div>
<br>____________________<br>
  Racket Users list:<br>
  <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br></div>