From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Shinn Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Don't mix definitions and expressions in SRFI-9 Date: Mon, 7 Mar 2011 08:05:05 +0900 Message-ID: References: <8762rwqk2p.fsf@gmx.at> <87mxl77un3.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299452724 32475 80.91.229.12 (6 Mar 2011 23:05:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2011 23:05:24 +0000 (UTC) Cc: guile-devel@gnu.org To: =?ISO-8859-1?Q?Ludovic_Court=E8s?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Mar 07 00:05:20 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PwN0n-0006WM-KE for guile-devel@m.gmane.org; Mon, 07 Mar 2011 00:05:17 +0100 Original-Received: from localhost ([127.0.0.1]:50960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwN0m-0002bG-L3 for guile-devel@m.gmane.org; Sun, 06 Mar 2011 18:05:16 -0500 Original-Received: from [140.186.70.92] (port=48927 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwN0e-0002ZH-M7 for guile-devel@gnu.org; Sun, 06 Mar 2011 18:05:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwN0d-0002Ua-88 for guile-devel@gnu.org; Sun, 06 Mar 2011 18:05:08 -0500 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:33088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwN0c-0002UK-W5; Sun, 06 Mar 2011 18:05:07 -0500 Original-Received: by fxm5 with SMTP id 5so4302734fxm.0 for ; Sun, 06 Mar 2011 15:05:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=K7i3hlsEP8N1tb3TJp4Vt25n56HthPMHCq3Lzq4fqMc=; b=NYuReEPjh4aU3xyB78e0+dg3DcR1tBe/DSjQIXsT07oazT4HyVrHGG6myIXfOLjWr/ kXF27BQ1wHGTEwynHT6rHsjblh3e2WMDL8NyowhHnT6BtjYRsgDG9vCsOQQ+PzZ6ISK9 Ee07MJfpzvx2Z+O1RvyDGXdDwiUWqMXQQbVsc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qBJ+KoTvtV/2vGahzFIYCGm0hP8Qq/7WzljROcTdpnRbNch56Of8kGqh867xBKU8ry x2Z/Mg0G2r90XlNOhKB/fIjBFbaNTejW1mkxs4lAybEaW7BDTgW4Qc57hNTfJ0y/7ENp wHcT5BQghWwOdbT9SIQggLQI19rwAc1JpMfvg= Original-Received: by 10.223.87.75 with SMTP id v11mr1777292fal.28.1299452705191; Sun, 06 Mar 2011 15:05:05 -0800 (PST) Original-Received: by 10.223.86.1 with HTTP; Sun, 6 Mar 2011 15:05:05 -0800 (PST) In-Reply-To: <87mxl77un3.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.41 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11800 Archived-At: 2011/3/7 Ludovic Court=E8s : > Hi Andreas, > > Andreas Rottmann writes: > >> The expansion of `define-inlinable' contained an expression, which made >> SRFI-9's `define-record-type' fail in non-toplevel contexts ("definition >> used in expression context"). > > SRFI-9 says =93Record-type definitions may only occur at top-level=94, an= d > I=92m inclined to stick to it. FWIW, R7RS is lifting this restriction. --=20 Alex