GNU logs - #17940, boring messages


Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17940: Nitpick: (lambda () (begin)) errors
Resent-From: Taylan Ulrich Bayirli/Kammer <taylanbayirli@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Fri, 04 Jul 2014 22:40:01 +0000
Resent-Message-ID: <handler.17940.B.140451359029374 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 17940
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: 
To: 17940 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guile@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.140451359029374
          (code B ref -1); Fri, 04 Jul 2014 22:40:01 +0000
Received: (at submit) by debbugs.gnu.org; 4 Jul 2014 22:39:50 +0000
Received: from localhost ([127.0.0.1]:43189 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1X3C8z-0007dh-VO
	for submit <at> debbugs.gnu.org; Fri, 04 Jul 2014 18:39:50 -0400
Received: from eggs.gnu.org ([208.118.235.92]:56908)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <taylanbayirli@HIDDEN>) id 1X3C8w-0007dS-A6
 for submit <at> debbugs.gnu.org; Fri, 04 Jul 2014 18:39:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <taylanbayirli@HIDDEN>) id 1X3C8l-0002lr-GZ
 for submit <at> debbugs.gnu.org; Fri, 04 Jul 2014 18:39:40 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:37488)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <taylanbayirli@HIDDEN>) id 1X3C8l-0002lf-DS
 for submit <at> debbugs.gnu.org; Fri, 04 Jul 2014 18:39:35 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58624)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <taylanbayirli@HIDDEN>) id 1X3C8f-0000e4-Hd
 for bug-guile@HIDDEN; Fri, 04 Jul 2014 18:39:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <taylanbayirli@HIDDEN>) id 1X3C8a-0002jw-2Q
 for bug-guile@HIDDEN; Fri, 04 Jul 2014 18:39:29 -0400
Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:35618)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <taylanbayirli@HIDDEN>) id 1X3C8Z-0002js-RV
 for bug-guile@HIDDEN; Fri, 04 Jul 2014 18:39:23 -0400
Received: by mail-wi0-f179.google.com with SMTP id cc10so4414244wib.12
 for <bug-guile@HIDDEN>; Fri, 04 Jul 2014 15:39:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=date:message-id:from:to:subject;
 bh=c2iDqGsiLfISMTM3o6MQzHg+nZ4k/yBvGAZ61TJVDLM=;
 b=V1t6+WSl+SH9TgA1UQeWrra/UTcIGfmPaEn+uaK3IWNeXkIEbkzf/6RY13wL6c06ES
 g89juCO4dUmfE3BeyDEjtlTvjwmySSvpVTTDiV21ZLSZoqYQx8qHfYa5wooufj5DpXoI
 5aPT12i+59EWTaJMA+qbTmvINSYw7agMnOOj+onJ5oHli7IS9FV3l7RaTRwTFDeWJUoQ
 nlUomcR4i4PFUGmYFw9k2j1wJHpJ/wXtY0rBZyOz3mYGfl6NDQTClpWt+IpLf05BaPXa
 3eoKdppknZ+vDg+c+oOaE6ruUmqgZ6s4wb4s8p618MGRsecuDK8izvNtUQ2OPvjZhRJT
 uUWw==
X-Received: by 10.194.222.5 with SMTP id qi5mr14756016wjc.62.1404513562862;
 Fri, 04 Jul 2014 15:39:22 -0700 (PDT)
Received: from taylan.uni.cx ([85.100.205.21])
 by mx.google.com with ESMTPSA id s3sm71737603wje.36.2014.07.04.15.39.21
 for <bug-guile@HIDDEN>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 04 Jul 2014 15:39:22 -0700 (PDT)
Date: Sat, 05 Jul 2014 01:39:04 +0300
Message-Id: <87zjgoda0n.fsf@HIDDEN>
From: Taylan Ulrich Bayirli/Kammer <taylanbayirli@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

Disclaimer: this is probably just a nitpick.

On guile-user someone brought up that (lambda () (begin)) errors,
arguably counter-intuitively:

http://lists.gnu.org/archive/html/guile-user/2014-07/msg00005.html

After much investigation over this trivial matter, I found that while
it's compliant with the RnRS (it's unspecified), it means Guile
extends the RnRS grammar in an "unexpected" way.  According to R5 and
7RS:

<lambda expression> -> (lambda <formals> <body>)
<body> -> <definition>* <sequence>
<sequence> -> <command>* <expression>
<expression> -> (other stuff) | <derived expression>
<derived expression> -> (other stuff) | (begin <sequence>)

meaning that the "(begin)" in that lambda body can be matched up to
<derived expression>, where it then almost matches the `begin' form
but fails only because in the RnRS grammar it must have at least one
expression (see <sequence> again; this is also reflected in section
4.2.3 where this `begin' form is explained; its template clearly shows
it must have at least one expression operand).

Guile on the other hand *generally* allows the expression-begin to
have zero operands, having it return *unspecified*.  So one would
expect it to work here as well, since one expects that this is a small
incremental extension to the RnRS grammar, but that's not the case.

If I'm not mistaken, `expand-body' in psyntax would be the place to
tackle this, and from a quick glance I'm guessing the benefit/effort
ratio for changing this is not very high. :-)

Taylan




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Taylan Ulrich Bayirli/Kammer <taylanbayirli@HIDDEN>
Subject: bug#17940: Acknowledgement (Nitpick: (lambda () (begin)) errors)
Message-ID: <handler.17940.B.140451359029374.ack <at> debbugs.gnu.org>
References: <87zjgoda0n.fsf@HIDDEN>
X-Gnu-PR-Message: ack 17940
X-Gnu-PR-Package: guile
Reply-To: 17940 <at> debbugs.gnu.org
Date: Fri, 04 Jul 2014 22:40:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guile@HIDDEN

If you wish to submit further information on this problem, please
send it to 17940 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
17940: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17940
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 1 Oct 2014 23:30:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 01 19:30:56 2014
Received: from localhost ([127.0.0.1]:57850 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XZTMG-00079c-Gk
	for submit <at> debbugs.gnu.org; Wed, 01 Oct 2014 19:30:56 -0400
Received: from world.peace.net ([96.39.62.75]:44998)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <mhw@HIDDEN>) id 1XZTMD-00075y-A3
 for control <at> debbugs.gnu.org; Wed, 01 Oct 2014 19:30:54 -0400
Received: from c-24-62-95-23.hsd1.ma.comcast.net ([24.62.95.23] helo=jojen)
 by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <mhw@HIDDEN>)
 id 1XZTM7-0002Mu-9o; Wed, 01 Oct 2014 19:30:47 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: control <at> debbugs.gnu.org
Date: Wed, 01 Oct 2014 19:30:45 -0400
Message-ID: <87wq8j9xlm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has
 identified this incoming email as possible spam.  The original message
 has been attached to this so you can view it (if it isn't spam) or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  severity 17940 minor thanks [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.8 MISSING_SUBJECT        Missing Subject: header
 0.2 NO_SUBJECT             Extra score for no subject
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has
 identified this incoming email as possible spam.  The original message
 has been attached to this so you can view it (if it isn't spam) or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  severity 17940 minor thanks [...] 
 
 Content analysis details:   (2.0 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  1.8 MISSING_SUBJECT        Missing Subject: header
  0.2 NO_SUBJECT             Extra score for no subject

severity 17940 minor
thanks





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.