Received: (at 28837) by debbugs.gnu.org; 17 Oct 2017 01:12:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 16 21:12:09 2017 Received: from localhost ([127.0.0.1]:44508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1e4GQS-0007Ev-Q1 for submit <at> debbugs.gnu.org; Mon, 16 Oct 2017 21:12:08 -0400 Received: from maximusconfessor.all2all.org ([79.99.200.102]:51597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <david@HIDDEN>) id 1e4GQQ-0007Em-7I for 28837 <at> debbugs.gnu.org; Mon, 16 Oct 2017 21:12:07 -0400 Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 364F0A04C114; Tue, 17 Oct 2017 03:12:05 +0200 (CEST) Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id 65PrbGYdm9Mh; Tue, 17 Oct 2017 03:12:00 +0200 (CEST) Received: from capac (unknown [177.157.201.182]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 7A34AA04C111; Tue, 17 Oct 2017 03:11:59 +0200 (CEST) Date: Mon, 16 Oct 2017 23:11:47 -0200 From: David Pirotte <david@HIDDEN> To: Andrew Erlanger <andrew.erlanger@HIDDEN> Subject: Re: bug#28837: Guile 2.2.2: Loading srfi-1 with merge-generics breaks "map" Message-ID: <20171016231147.10d67570@capac> In-Reply-To: <871sm5d4di.fsf@HIDDEN> References: <871sm5d4di.fsf@HIDDEN> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/IPita.zg634rx4jyHX0b0VZ"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 28837 Cc: 28837 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://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: <https://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: -0.7 (/) --Sig_/IPita.zg634rx4jyHX0b0VZ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Andrew, > (define-module (mytest f) > #:use-module (oop goops) > #:use-module (srfi srfi-1) > #:duplicates (merge-generics)) You need at least=20 #:duplicates (merge-generics replace) but as I recommended in an earlier message, you should extend the default s= et #:duplicates (merge-generics replace warn-override-core warn last) > ,in (mytest f) map > While executing meta-command: > ERROR: Unbound variable: map The above will fix your problem. David --Sig_/IPita.zg634rx4jyHX0b0VZ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAlnlWNMACgkQ83T9k6MF eteDyQf/VarfpcIiODsUKjWUPo+eLG+9BPxJEbigcoOy+xJMqZRj/39SF1889j9r 8gc5HlZjnb1tSZq5f21ChRhvlrKQlXScxdc6QkRwQK/aBKB86WDrexY33B0imBth g1AwH7zjaV00MJ/D9K4RXp4JLc/mFA+CtZWAFVdhHYo4uEXIvjjFlVlP/K95ESBk lGLKkbzzDte3dxeSDgFKwYqX5tSTNFRYoWj5MR8SQgDPLErebwwra2FCVpchkyAS VYIlSMgUcfxitPBTdRv8uIQJjzzVT8NzC6dxlrTSi57OegWv47znzLVKz75GzneA dPcNop/iDGwqR6frmiFmHKgwXAjc7g== =7cAb -----END PGP SIGNATURE----- --Sig_/IPita.zg634rx4jyHX0b0VZ--
bug-guile@HIDDEN
:bug#28837
; Package guile
.
Full text available.Received: (at submit) by debbugs.gnu.org; 14 Oct 2017 17:38:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 14 13:38:56 2017 Received: from localhost ([127.0.0.1]:40488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1e3QOl-0007JL-PT for submit <at> debbugs.gnu.org; Sat, 14 Oct 2017 13:38:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54853) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <andrew.erlanger@HIDDEN>) id 1e3QGP-000756-Uo for submit <at> debbugs.gnu.org; Sat, 14 Oct 2017 13:30:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <andrew.erlanger@HIDDEN>) id 1e3QGJ-0000oD-Rp for submit <at> debbugs.gnu.org; Sat, 14 Oct 2017 13:30:12 -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.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51822) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <andrew.erlanger@HIDDEN>) id 1e3QGJ-0000o4-Ow for submit <at> debbugs.gnu.org; Sat, 14 Oct 2017 13:30:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <andrew.erlanger@HIDDEN>) id 1e3QGI-0003Vu-Gl for bug-guile@HIDDEN; Sat, 14 Oct 2017 13:30:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <andrew.erlanger@HIDDEN>) id 1e3QGD-0000hz-Iv for bug-guile@HIDDEN; Sat, 14 Oct 2017 13:30:10 -0400 Received: from mail-qk0-x231.google.com ([2607:f8b0:400d:c09::231]:43566) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <andrew.erlanger@HIDDEN>) id 1e3QGD-0000hT-E4 for bug-guile@HIDDEN; Sat, 14 Oct 2017 13:30:05 -0400 Received: by mail-qk0-x231.google.com with SMTP id w134so8445079qkb.0 for <bug-guile@HIDDEN>; Sat, 14 Oct 2017 10:30:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=38JZ+g8z3ervsU0/NyzGlIVObRghXYLDffy/W3hbo6k=; b=rCsgBXNKgKdjnIJES5+lMeI4UDooN7Mod5dkiV1Gd2bncejSF70FSo0yKwbYRISAwh LL+0GxKxKjVXKpu5sdZ4d9NpdNJCUdxfdo/n8I+H1XmleN1NvEo4xDVOcbgnJBs8B0dj EOA8hpxIhrrpNQDeTn4fIfYRnaN2tTdxQgN7uraajuBVrtTG/8xFJx9ktxIiNkYIGRTj FPfhqecwuARP/GSZsdU8VHyxrC7b1+iY2XW86+UWOemVE0Y26ziW+97gqFy3N2e9QAzI xCkFFT++eEUUcS/HD4hZtG1iof0XBMsMCvZpPfRlTpuz/AcddTPuBYRJ2sNqse1oHehn grTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=38JZ+g8z3ervsU0/NyzGlIVObRghXYLDffy/W3hbo6k=; b=PYgxxkAIepsuRPg462xw6BF5Wc4kDGwLwFNED8CTxwZqvIfap18qCQxy2YZ/Lqb22/ O0o+naUmRNCdkaBcHEhPXFS2onIi6XHlVzu6b3ZyTGT0vBd4eDNSBqMTP73ICu+lWnxQ jRSfYo0bn7lsSyDflntoTTZnzlCTlndkuxxcRJ6+LoZEyXMEy/aIDaWZZfaO4mIf4dIA SwH09f/n3K4n9C/dmmaPFaQUrMsKfxxsaZGlxwa9NbX+8x30zVKd2y32W9rejydxDDb+ KaiTE4BUFVIVTPBHEcpf3ykW3Xe7IVObMEYx+BKQbc0T+MFRWrACLY8ullS0TplIdm2O e8HA== X-Gm-Message-State: AMCzsaWOr551//23oYaaDqfnAl9I9ya1BylgGU9t42rYo6P9TKHuRorB 165TFcXquKam1VF4Ao2sTrXVYA== X-Google-Smtp-Source: AOwi7QAqjbOz1nbTeYezDofiVobfUK3PbqV+dM9W18Irdx20/S6T8FhjuTUhHHp7hOhes4FyjDpBXw== X-Received: by 10.55.156.210 with SMTP id f201mr6602389qke.283.1508002203253; Sat, 14 Oct 2017 10:30:03 -0700 (PDT) Received: from localhost (ool-457a9840.dyn.optonline.net. [69.122.152.64]) by smtp.gmail.com with ESMTPSA id p6sm2173696qke.64.2017.10.14.10.30.01 for <bug-guile@HIDDEN> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 14 Oct 2017 10:30:02 -0700 (PDT) From: Andrew Erlanger <andrew.erlanger@HIDDEN> To: bug-guile@HIDDEN Subject: Guile 2.2.2: Loading srfi-1 with merge-generics breaks "map" Date: Sat, 14 Oct 2017 13:30:01 -0400 Message-ID: <871sm5d4di.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 14 Oct 2017 13:38:54 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://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: <https://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 (----) Re-creation: 1. Make a directory (I call it 'mytest') 2. In the directory, make a file f.scm containing: (define-module (mytest f) #:use-module (oop goops) #:use-module (srfi srfi-1) #:duplicates (merge-generics)) 3. In the directory, make a file test.scm containing: (add-to-load-path (dirname (getcwd))) (use-modules (mytest f)) 4. Navigate to the directory in a terminal, and start the Guile REPL. 5. In the REPL, enter the two following commands: (load "test.scm") ,in (mytest f) map The last command returns: While executing meta-command: ERROR: Unbound variable: map That is, the 'map' primitive becomes unbound in the context of (mytest f). Any procedures which both (a) relying on map, and (b) are defined and exported in (mytest f), throw the above error as well. Please let me know if I can clarify. - Andrew
Andrew Erlanger <andrew.erlanger@HIDDEN>
:bug-guile@HIDDEN
.
Full text available.bug-guile@HIDDEN
:bug#28837
; Package guile
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.