From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#14347: reset, shift, continuation values truncated inconsistently Date: Mon, 20 Jun 2016 23:06:59 +0200 Message-ID: <877fdj7eoc.fsf@pobox.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466458392 10923 80.91.229.3 (20 Jun 2016 21:33:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2016 21:33:12 +0000 (UTC) Cc: 14347-done@debbugs.gnu.org To: Jussi Piitulainen Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Jun 20 23:33:01 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bF6oP-0005qm-Bm for guile-bugs@m.gmane.org; Mon, 20 Jun 2016 23:32:53 +0200 Original-Received: from localhost ([::1]:46665 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF6oO-0004yw-BG for guile-bugs@m.gmane.org; Mon, 20 Jun 2016 17:32:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF6QR-0004Sg-38 for bug-guile@gnu.org; Mon, 20 Jun 2016 17:08:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF6QM-0005NE-PR for bug-guile@gnu.org; Mon, 20 Jun 2016 17:08:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF6QM-0005Mz-AW for bug-guile@gnu.org; Mon, 20 Jun 2016 17:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bF6QM-0003RL-6O for bug-guile@gnu.org; Mon, 20 Jun 2016 17:08:02 -0400 Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Mon, 20 Jun 2016 21:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 14347 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 14347@debbugs.gnu.org, wingo@pobox.com, jpiitula@ling.helsinki.fi Original-Received: via spool by 14347-done@debbugs.gnu.org id=D14347.146645683213152 (code D ref 14347); Mon, 20 Jun 2016 21:08:01 +0000 Original-Received: (at 14347-done) by debbugs.gnu.org; 20 Jun 2016 21:07:12 +0000 Original-Received: from localhost ([127.0.0.1]:48108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bF6PY-0003Q4-FX for submit@debbugs.gnu.org; Mon, 20 Jun 2016 17:07:12 -0400 Original-Received: from pb-sasl1.pobox.com ([64.147.108.66]:50549 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bF6PW-0003Pw-4Z for 14347-done@debbugs.gnu.org; Mon, 20 Jun 2016 17:07:10 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id BE2AD253DE; Mon, 20 Jun 2016 17:07:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=EDlCXVl7l7PPu7QCC+GOwXQePyk=; b=sYFb9H jc5NJl49rsiGyL+/zNZHZ/RrQuLuufYfWnuiN3EcjgsNczRQf5gDzclvuFEacu9B YU+1CPivpvLB7MM7SBjs6AOWBLbctSz3DWbKXObBWxp7JPzfsCe3hBrD0eO0jCuB aKXD6Gi7fv7lfCcP/LUshL8Jpmyd5HMnpWIuw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=WpFS/ZFv5WhkFscPKWlvSIg9piqj14P4 fHkmEgl35n32ku1lIYUkYCzfdt4+r3xU7x/IJHjJ+TJBsWAkJgT7JwQPlsa5Tmzb Cso8y7PQZHyTnp/pBbjZAfPDAJEhuCUaMn52jlOmOCCqTU/AvXxmjS/XZ+ohQnrT epZ+nzd5rHE= Original-Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id B4B82253DC; Mon, 20 Jun 2016 17:07:07 -0400 (EDT) Original-Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id B9EF6253DB; Mon, 20 Jun 2016 17:07:06 -0400 (EDT) In-Reply-To: (Jussi Piitulainen's message of "04 May 2013 10:47:15 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-Pobox-Relay-ID: F2150888-372A-11E6-BE98-C1836462E9F6-02397024!pb-sasl1.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8046 Archived-At: On Sat 04 May 2013 09:47, Jussi Piitulainen writes: > Hi, the following seems at least inconsistent to > me and possibly unintended: I believe it > demonstrates that the continuation captured by > `shift' passes all its values to its continuation > when it's called directly, but truncates them to > the first value when it's bound to a variable > outside the reset expression and then called. Thank you for the report, and apologies for taking so long to fix it! Fixed in a192c336a22b8c9ac354e88c2f2b317dff22b8c9 on stable-2.0. 2.1.3 already had it fixed, but by accident. Andy