<div dir="ltr">Hi,<div><br></div><div>'pretty-print' in write.scm seems to behave the same way as 'display',</div><div>and I can't find any documentation about the function.</div><div><br></div><div>For instance, is there a way to make</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">(pretty-print '(((hash-table '(:place . 53) '(:duration . 3473301/65534) '(:pitches (hash-table '(:place . 0) '(:value . 0.0) '(:logtype . 0) '(:chance . 1.0)) (hash-table '(:place . 347</span><br>3301/65534) '(:value . 53.0) '(:logtype . 0) '(:chance . 1.0))) '(:velocities (hash-table '(:place . 0) '(:value . 0.79998779296875) '(:logtype . 0)) (hash-table '(:place . 3473301/65534) '(:value . 0.7999877929<br>6875) '(:logtype . 0))) '(:continues-next-block . #t)))))<br>
<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">print out</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">"</span></div><div><div><font face="monospace">(((hash-table '(:place . 53)</font></div><div><font face="monospace"> '(:duration . 3473301/65534)</font></div><div><font face="monospace"> '(:pitches (hash-table '(:place . 0)</font></div><div><font face="monospace"> '(:value . 0.0)</font></div><div><font face="monospace"> '(:logtype . 0)</font></div><div><font face="monospace"> '(:chance . 1.0)) </font></div><div><font face="monospace"> (hash-table '(:place . 3473301/65534)</font></div><div><font face="monospace"> '(:value . 53.0)</font></div><div><font face="monospace"> '(:logtype . 0)</font></div><div><font face="monospace"> '(:chance . 1.0)))</font></div><div><font face="monospace"> '(:velocities (hash-table '(:place . 0)</font></div><div><font face="monospace"> '(:value . 0.79998779296875)</font></div><div><font face="monospace"> '(:logtype . 0))</font></div><div><font face="monospace"> (hash-table '(:place . 3473301/65534)</font></div><div><font face="monospace"> '(:value . 0.79998779296875)</font></div><div><font face="monospace"> '(:logtype . 0)))</font></div><div><font face="monospace"> '(:continues-next-block . #t))))</font></div><div style="font-family:monospace">"</div></div><div style="font-family:monospace">?</div><div style="font-family:monospace"><br></div><div style="font-family:monospace"><br></div><div style="font-family:monospace">Guile prints out this:</div><div style="font-family:monospace"><br></div><div style="font-family:monospace">"</div><div style="font-family:monospace">(((hash-table
<br> '(:place . 53)
<br> '(:duration . 3473301/65534)
<br> '(:pitches
<br> (hash-table
<br> '(:place . 0)
<br> '(:value . 0.0)
<br> '(:logtype . 0)
<br> '(:chance . 1.0))
<br> (hash-table
<br> '(:place . 3473301/65534)
<br> '(:value . 53.0)
<br> '(:logtype . 0)
<br> '(:chance . 1.0)))
<br> '(:velocities
<br> (hash-table
<br> '(:place . 0)
<br> '(:value . 0.79998779296875)
<br> '(:logtype . 0))
<br> (hash-table
<br> '(:place . 3473301/65534)
<br> '(:value . 0.79998779296875)
<br> '(:logtype . 0)))
<br> '(:continues-next-block . #t))))<br>
"</div><div style="font-family:monospace"><br></div><div style="font-family:monospace">which is good enough, perhaps even better, but s7 prints out this:</div><div style="font-family:monospace"><br></div><div style="font-family:monospace"><div>"</div><div><span style="color:rgb(0,0,0)">(((hash-table '(:place . 53) '(:duration . 3473301/65534) '(:pitches (hash-table '(:place . 0) '(:value . 0.0) '(:logtype . 0) '(:chance . 1.0)) (hash-table '(:place . 3473301/65534) '(:value . 53.0) '(:logtype </span><br>. 0) '(:chance . 1.0))) '(:velocities (hash-table '(:place . 0) '(:value . 0.79998779296875) '(:logtype . 0)) (hash-table '(:place . 3473301/65534) '(:value . 0.79998779296875) '(:logtype . 0))) '(:continues-nex<br>t-block . #t))))<br></div><div>"</div><div><br></div></div><div style="font-family:monospace">which is just one lon gline.</div><div style="font-family:monospace"><br></div><div style="font-family:monospace">I've tried to set the "column" argument for pretty-print, but it doesn't seem to make a difference.</div><div style="font-family:monospace"><br></div><div style="font-family:monospace">Thank you.</div><div style="font-family:monospace"><br></div></div>