unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* evaluating a file with out side effects
@ 2003-06-02  0:25 Thomas Mulcahy
  2003-06-02 20:45 ` Arno Peters
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Mulcahy @ 2003-06-02  0:25 UTC (permalink / raw)


Hi, I'm attempting to use scheme to generate HTML for
a page like this:
http://okmij.org/ftp/Scheme/xml.scm
(See http://okmij.org/ftp/Scheme/xml.html for the HTML
version).
To do this, I need to evaluate the contents of a file
and get the result. The guile load procedure returns
unspecified however, instead of the result of
evaluating the file. I can see how it would be
possible to evaluate each s-expression in the file but
this seems a bit awkward and would have side effects
(definitions in the file might overwrite my own
definitions). What is the best way to do this?

Thanks,
Thomas

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-02 20:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-02  0:25 evaluating a file with out side effects Thomas Mulcahy
2003-06-02 20:45 ` Arno Peters

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).