[gambit-list] How to save s-expressions

Richard Prescott rdprescott at gmail.com
Sat Oct 27 04:31:06 EDT 2012


Good morning everybody,

Forgive my ignorance, I am just learning.

In order to embrace the "code is data" philosophy [1], I want to load and save data as s-expressions within files.  I figured the load using (read (open-input-file "data.scm")).

How can I save?

Thanks in advance.

Richard


[1]: I just learnt that it is called http://en.wikipedia.org/wiki/Homoiconicity


More information about the Gambit-list mailing list