From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam Lee via "Bug reports for GUILE, GNU's Ubiquitous Extension Language" Newsgroups: gmane.lisp.guile.bugs Subject: bug#52218: Unable to define more than one R7RS library per file Date: Thu, 2 Dec 2021 02:55:33 +0000 Message-ID: <20211202025533.as5notbwgncsyb2v@localhost> References: <20211201074553.bzuoffwpaxw3da44.ref@localhost> <20211201074553.bzuoffwpaxw3da44@localhost> Reply-To: Sam Lee Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3318"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52218@debbugs.gnu.org To: Linus =?UTF-8?Q?Bj=C3=B6rnstam?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Thu Dec 02 04:34:10 2021 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mscrK-0000he-FW for guile-bugs@m.gmane-mx.org; Thu, 02 Dec 2021 04:34:10 +0100 Original-Received: from localhost ([::1]:45744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mscrI-0001r4-Dn for guile-bugs@m.gmane-mx.org; Wed, 01 Dec 2021 22:34:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mscrC-0001qv-C0 for bug-guile@gnu.org; Wed, 01 Dec 2021 22:34:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mscrC-0001kc-4d for bug-guile@gnu.org; Wed, 01 Dec 2021 22:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mscrB-0003kA-SW for bug-guile@gnu.org; Wed, 01 Dec 2021 22:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sam Lee Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 02 Dec 2021 03:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52218 X-GNU-PR-Package: guile Original-Received: via spool by 52218-submit@debbugs.gnu.org id=B52218.163841599014327 (code B ref 52218); Thu, 02 Dec 2021 03:34:01 +0000 Original-Received: (at 52218) by debbugs.gnu.org; 2 Dec 2021 03:33:10 +0000 Original-Received: from localhost ([127.0.0.1]:46220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mscqL-0003j0-Hv for submit@debbugs.gnu.org; Wed, 01 Dec 2021 22:33:10 -0500 Original-Received: from sonic304-10.consmr.mail.bf2.yahoo.com ([74.6.128.33]:38336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mscGE-0002iJ-DD for 52218@debbugs.gnu.org; Wed, 01 Dec 2021 21:55:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638413744; bh=EHhDSi3cgDu18i0d8ZnmTaMEbwcBVRwBQqiSLaBXV6g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=GBBbCITiyeeeGSBOAWWidSmroXKmWY9AJCFwZoDMJKwW2eaJJhsfwQ3xRJ5BxEECtmLp+TNid+Gv4fhDPCXUKELoQxoyBvEO3+H21WtHM9BrVmsD9CSE1U34EHWfC9gPiteoD/gK0/i0uQcXFnI3JEmVvPwUbHH5zhVjkK6s3mLmx+j2IewT/8+TSLjYehuZ3QtMweK/3jhZUpttt13eiYOpnp1XGO4Rq/iQqCHgXRCGq5ad/ojFdg51dmPh12/xt1u7vpmNgg/wn+bVbLlF3/nmoVILULM6uciPOKIdiuq3wQVzVcqLq1K2vK/sHG8Ckx/APIAMa//nQNkIS36Yow== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638413744; bh=mgxlSlzJnK5smZoeAH1i8ZHlATFplOgi6rnW446cLUE=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=Lg2kkqHe1x6FfNaKn4mFcdYudLfXyE7fRtWnYOVuOHci7pMmNt28ALs17PjUvxDS5IWT4gGa5BrFhdI+pKQGI6dHlq4cMn+g3Phckc1Qn5R9Nk4hk2a8HM6ZR40bpDOLqEVgim8dARG2Vgfn1BhZ+p8dXJpquKzAYkmblth/90P7keJzAa0xI+1OV7rgrI/I89DUvD0i0g4b0Sm8sbLESgEryuz9SlrCFAH1MXryutbc5uEFfiOI4PIK768N6+YqlHspPuTzGy53X4Lc0GguxgvO4i+05XnMFWG80xSNTDvioFLn2VtT2yjAqk1L4RjkI70TmAj2uhU3VHa3p7X5ow== X-YMail-OSG: dKHPydIVM1mNDTrOJrMZDvF5MMHG8Bk6DNA9lYLq9eGFttX7lsbskhp3mqPGVcw JtUpHSeRfXLRX9GPmqg4phLNsUyHrQnWH5iUl8pjoXjRTrTxp59vbnCJc5bRRduW_yueuYTk0Hin 2Be_ZEKOt.e1PmWFORO4jDU_PK.iHw8Z.k32fxGqabPC_eWgMuzbGMTqQ_ZkwvTRfi1Nl.rzHdSJ 55F61FDFvkHNe_m.M_ucnHO.f3nbKB08TMehH_TAxHrK6oSBT5_aw8aj3WZVUHOPGwyCkdSB4SFO 7kDbLB170xMtKUzAaIQTz_egM55RfP_nTCX4Al0mz4z6gS0oI9IPCIBL1_sRRNHrEKtvCyw4i5Qy WD2Alx_gANywP0I_VVItEp7MIm8rXQgzGVRl9B4PEF3p0.HWfGKzCoeN41ZZoxW14QpXeo31ot_S uwaE5OFqPICqKH_sKRZq21.9bHPhUhuw3vJKuoquSFnAHs4dv6XmaPBGbK1ycEPijCknkkW.hZs5 UN44ogTUqFrjnpydAjrxXiR38e6McGiw5Sr_ZDMZwPhwndXXpdgkMmiEzatsQXB.I5oWh0YCq2_L YUevjSW9SLpl85NWteNyqYGS.ox_9EXWRjvYNdaQLhjMJ8d9Ux.p4V73PCbMTMsEVTXnU9qCJr_H 8PhzhEn4drpTnNS_ONld86HEm50R3IytiBWwhX9dzejHQkkL9jOX4GTc.3FjeD8vuBL6_yreAAWo PEBtkKOPJTOxH8AJXh_BOIJYWW9GumJXgS8hUj5w5ujg6C2SxQtckyU8bXigRxpMhocgjfD3Vxbg TW90ADA6ABbZLq2pBBf2dqt5eqW0VrNYuqhOxTXcds X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.bf2.yahoo.com with HTTP; Thu, 2 Dec 2021 02:55:44 +0000 Original-Received: by kubenode519.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID e874e1ba0f56eff5abf14ef822312932; Thu, 02 Dec 2021 02:55:37 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-Mailer: WebService/1.1.19306 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Mailman-Approved-At: Wed, 01 Dec 2021 22:33:08 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:10217 Archived-At: On 2021-12-01 11:00 +0100, Linus Björnstam wrote: > This is in line with the limitations of guile's R6RS implementation. I > think this is a long standing, low priority bug. It has to do with the > expansion of library (or define-library in this case) not properly > resetting the current module. > > In the manual there is a section called "R6RS incompatibilities" that > mentions this. Maybe an "R7RS incompatibilities" should be added. Hi Linus, There already exist a page in the manual about "Incompatibilities with the R7RS" [1]. Perhaps a paragraph similar to that found in the R6RS incompatibilities page should be added to the R7RS incompatibilities page. Something like this: "Multiple @code{define-library} forms in one file are not yet supported. This is because the expansion of @code{define-library} sets the current module, but does not restore it. This is a bug." [1]: https://www.gnu.org/software/guile/manual/html_node/R7RS-Incompatibilities.html