[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LOAD return value?
Why isn't LOAD specified to return the value of the last form in the
file? As it is, LOAD would be better named LOAD! since there is no
point in LOADing a file with no side effects.
As CPH pointed out to me, a simple module system could be implemented
if LOAD returned the value of the last form in the file.
If LOAD returned this value it would also be consistent with the idea
of LOAD as INCLUDE (with a BEGIN around it).