> On Jul 14, 2017, at 11:46 AM, Daniel I Hong <dhon...@mit.edu> wrote:
> 
> Hi all,
> 
> I just recently began using Chicken, and I ran into a problem when trying to 
> write something to a file. Is there any function identical to 'write' from 
> from the 'extras' unit, except it prints literal newlines (like how 'display' 
> prints newlines) instead of '\n'? Or is there an easy way around this? Any 
> help would be much appreciated. Thanks!


See

http://wiki.call-cc.org/man/4/Unit%20library#standard-inputoutput 
<http://wiki.call-cc.org/man/4/Unit%20library#standard-inputoutput>

http://wiki.call-cc.org/man/4/Unit%20extras#formatted-output 
<http://wiki.call-cc.org/man/4/Unit%20extras#formatted-output>

the print & printf procedures have, or can perform, like display.

BTW, write is part of R5RS (& earlier & later). You are probably thinking of 
one of the ‘write-…’ procedures from extras

> 
> Best,
> Daniel
> _______________________________________________
> Chicken-users mailing list
> Chicken-users@nongnu.org <mailto:Chicken-users@nongnu.org>
> https://lists.nongnu.org/mailman/listinfo/chicken-users 
> <https://lists.nongnu.org/mailman/listinfo/chicken-users>
_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to