guile-user
[Top][All Lists]
Advanced

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

Re: The return value of `load'


From: Andy Wingo
Subject: Re: The return value of `load'
Date: Mon, 09 Jan 2012 16:16:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Mon 01 Aug 2011 15:02, Panicz Maciej Godek <address@hidden> writes:

> (define x (load "2plus3.scm")) ; (i wish x was 5)

I have fixed this to return the result(s) of evaluating the last
expression in the file, or the unspecified value if the file has no
forms.  Previously there was differing behavior: primitive-load didn't
return the values, but load-compiled (which `load' could call) would
return the values.

Andy
-- 
http://wingolog.org/



reply via email to

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