guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (load) Question


From: Keith Wright
Subject: Re: (load) Question
Date: Sun, 16 Feb 2003 01:32:43 -0500

> From: address@hidden (Robert Uhl <address@hidden>)
> 
> address@hidden writes:
> > 
> > load returns an unspecified value according to R5RS.  Does (eval
> > (read)) suit your needs?
> 
> Yup, that's it.  Bit of a nuisance--now that I know what to look for, I
> was able to spot it in the docs.  Thanks much.

Why nuisance?  Load reads a whole file which may contain zero
or more definitions and zero or more expression.  Choseing
one that gets returned would be kind of arbitrary, and then
what do you do if there are no expression?

           -- Keith




reply via email to

[Prev in Thread] Current Thread [Next in Thread]