From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.devel Subject: Re: primitive-load returning result of last evaluation? Date: Mon, 22 Apr 2002 00:54:09 -0700 Sender: guile-devel-admin@gnu.org Message-ID: References: <87pu196tvw.fsf@alice.rhinosaur.lan> Reply-To: ttn@glug.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019462536 25904 127.0.0.1 (22 Apr 2002 08:02:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 22 Apr 2002 08:02:16 +0000 (UTC) Cc: guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16zYm8-0006jh-00 for ; Mon, 22 Apr 2002 10:02:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zYlh-00069o-00; Mon, 22 Apr 2002 04:01:49 -0400 Original-Received: from ca-crlsbd-u4-c4c-174.crlsca.adelphia.net ([68.66.186.174] helo=giblet) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zYiI-0005z4-00 for ; Mon, 22 Apr 2002 03:58:18 -0400 Original-Received: from ttn by giblet with local (Exim 3.33 #1 (Debian)) id 16zYeH-0000ET-00; Mon, 22 Apr 2002 00:54:09 -0700 Original-To: a.rottmann@gmx.at In-Reply-To: <87pu196tvw.fsf@alice.rhinosaur.lan> (message from Andreas Rottmann on 09 Apr 2002 12:36:35 +0200) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:441 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:441 From: Andreas Rottmann Date: 09 Apr 2002 12:36:35 +0200 I wonder if it were possible to provide a primitive-load that returns the result of the last expression evaluated. It would require just a few-line-change in libguile/load.c and I guess it wouldn't break too much since primitive-load returns SCM_UNSPECIFIED right now and one can assume its return value isn't used (yet). i think this is a reasonable change, but perhaps there is a good reason this hasn't been done since return value was fixed in 1996-09 (libguile/load.c 1.4). thi _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel