[EMAIL PROTECTED] wrote: > I remember reading somewhere but I can't find it now that > the return value of a Scheme define expression like (define pi 3.14) > is undefined. > > mit-scheme seems to return the symbol which seems perfectly reasonable. > > If it is undefined why is that so? Wouldn't specifying it remove ambiguity > and > avoid problems? > I believe the idea is that you shouldn't be looking at the results of the function, and one wouldn't normally want to anyway, so why have the interpreter do the extra work of either returning the value or determining that returning the value is unnecessary.
--Chris -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
