From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.lisp.guile.devel Subject: Re: parallel with no exprs Date: Mon, 16 Jun 2003 20:45:19 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <87y90cfcjy.fsf@zip.com.au> <87k7bskqlp.fsf@zip.com.au> <87y9057d4y.fsf@zip.com.au> Reply-To: djurfeldt@nada.kth.se NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055789548 17017 80.91.224.249 (16 Jun 2003 18:52:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2003 18:52:28 +0000 (UTC) Cc: djurfeldt@nada.kth.se Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jun 16 20:52:27 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Rz4A-0004GE-00 for ; Mon, 16 Jun 2003 20:50:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Rz3v-0000TI-9b for guile-devel@m.gmane.org; Mon, 16 Jun 2003 14:50:39 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Rz3H-0000B0-KO for guile-devel@gnu.org; Mon, 16 Jun 2003 14:49:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Rz2e-0007wL-K6 for guile-devel@gnu.org; Mon, 16 Jun 2003 14:49:21 -0400 Original-Received: from kvast.blakulla.net ([213.212.20.77]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Rz0h-0006pr-Vq for guile-devel@gnu.org; Mon, 16 Jun 2003 14:47:20 -0400 Original-Received: from barbara.blakulla.net ([213.212.21.238] helo=witch) by kvast.blakulla.net with esmtp (Exim 3.36 #1 (Debian)) id 19Rz0f-00049F-00; Mon, 16 Jun 2003 20:47:17 +0200 Original-Received: from mdj by witch with local (Exim 3.35 #1 (Debian)) id 19Ryyl-0000dw-00; Mon, 16 Jun 2003 20:45:19 +0200 Original-To: guile-devel@gnu.org In-Reply-To: <87y9057d4y.fsf@zip.com.au> (Kevin Ryde's message of "Sat, 14 Jun 2003 09:48:13 +1000") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2545 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2545 Kevin Ryde writes: > Mikael Djurfeldt writes: >> >> Oops. The second lambda should have (x) as formal parameters. >> But this error is independent from the problem we are discussing. >> (parallel) correctly expands to (begin). > > Are you sure you want it that way? I guess it'd be necessary to > document that parallel of N forms returns N values except that 0 forms > returns 1 unspecified value. No. In fact, I'm not sure at all. In fact, I am no longer the Guile developer who says "(parallel) should expand to (begin)". I am now the Guile developer who says "(parallel) should expand to (values)"! Please do apply your patch. (Sorry for not paying attention.) > (I'm not especially worried one way or the other, I only arrived at it > from looking to add to the manual.) Good thing to express things with words... >> In our implementation, >> (begin) evaluates to # which is 1 value, so the second >> lambda must take 1 argument. > > Yes I thought it might be the unspecified literalism, or rather the > literalism of unspecified :-). The question is if (begin) --> # is correct. Probably so, because (begin) is a sequence and it should probably always return 1 value... M _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel