From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.lisp.guile.bugs Subject: bug#17502: R6RS `library' form must have exports before imports Date: Thu, 15 May 2014 23:12:51 -0400 Message-ID: <20140516031252.F59DJ.39550.root@cdptpa-web06> References: <8738ga7o2m.fsf@taylan.uni.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1400210010 21291 80.91.229.3 (16 May 2014 03:13:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2014 03:13:30 +0000 (UTC) To: 17502@debbugs.gnu.org, Taylan Ulrich Bayirli/Kammer Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri May 16 05:13:22 2014 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 1Wl8aH-0001Ns-7V for guile-bugs@m.gmane.org; Fri, 16 May 2014 05:13:21 +0200 Original-Received: from localhost ([::1]:33176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wl8aG-000726-P2 for guile-bugs@m.gmane.org; Thu, 15 May 2014 23:13:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wl8a6-0006zl-9r for bug-guile@gnu.org; Thu, 15 May 2014 23:13:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wl8Zz-0001Mz-9K for bug-guile@gnu.org; Thu, 15 May 2014 23:13:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wl8Zz-0001Mv-5l for bug-guile@gnu.org; Thu, 15 May 2014 23:13:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wl8Zy-0004Pb-I1 for bug-guile@gnu.org; Thu, 15 May 2014 23:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 16 May 2014 03:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17502 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 17502-submit@debbugs.gnu.org id=B17502.140020998116950 (code B ref 17502); Fri, 16 May 2014 03:13:02 +0000 Original-Received: (at 17502) by debbugs.gnu.org; 16 May 2014 03:13:01 +0000 Original-Received: from localhost ([127.0.0.1]:36566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wl8Zw-0004PK-Tk for submit@debbugs.gnu.org; Thu, 15 May 2014 23:13:01 -0400 Original-Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.228]:13468 helo=cdptpa-oedge-vip.email.rr.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wl8Zv-0004Oy-6V for 17502@debbugs.gnu.org; Thu, 15 May 2014 23:12:59 -0400 Authentication-Results: cdptpa-oedge01 smtp.user=dsmich@roadrunner.com; auth=pass (LOGIN) Original-Received: from [107.14.174.248] ([107.14.174.248:47873] helo=cdptpa-web06) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTPA id DF/15-11188-33285735; Fri, 16 May 2014 03:12:52 +0000 In-Reply-To: <8738ga7o2m.fsf@taylan.uni.cx> X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: from 184.56.129.232 by webmail.roadrunner.com; Fri, 16 May 2014 3:12:51 +0000 X-RR-Connecting-IP: 107.14.168.118:2525 X-Cloudmark-Score: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7461 Archived-At: ---- Taylan Ulrich Bayirli/Kammer wrote: > The R6RS `library' form requires the (export ...) list to appear > before the (import ...) list. I'm not sure if this itself is a bug; > R6RS consistently uses that order, doesn't mention the order to be > irrelevant, and seems to me to imply that it's indeed mandatory. I > didn't check for what other R6RS implementations do though. >From http://www.r6rs.org/final/html/r6rs/r6rs-Z-H-10.html#node_sec_7.1 : A library definition must have the following form: (library (export ...) (import ...) ) Seems unambiguous to me. -Dale