[Top][All Lists]

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

Re: (load) Question

From: Andreas Rottmann
Subject: Re: (load) Question
Date: Wed, 19 Feb 2003 14:13:33 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2

Egil Moeller <address@hidden> writes:

>> 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?
> What is the retun-value of a function? A function might contain multiple
> definitions and expressions, too. The value is the value of the last one.
> Why not have the same deifinition for load? And if there are not
> expressions, then, just let the value returned be undefined or whatever.
> As (load) is defined in teh standard to return an undefined value, this
> could very well be specified as an extenssion, without breaking the
> standard. Perheaps as an SRFI?
I would second that, as I have hacked up a modified version of load
for use in my code (at the C level) that does exactly that.

Regards, Andy
Andreas Rottmann         | address@hidden        | address@hidden | 
address@hidden | GnuPG Key:
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62

reply via email to

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