unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alex Shinn <alexshinn@gmail.com>
Cc: guile-devel@gnu.org
Subject: Re: [PATCH] Don't mix definitions and expressions in SRFI-9
Date: Mon, 07 Mar 2011 00:21:27 +0100	[thread overview]
Message-ID: <8762rv6djc.fsf@gnu.org> (raw)
In-Reply-To: <AANLkTikrKYRYSAyrg5rov7A4CYZqBxtk-MkyJ_67CDVy@mail.gmail.com> (Alex Shinn's message of "Mon, 7 Mar 2011 08:05:05 +0900")

Hi Alex,

Alex Shinn <alexshinn@gmail.com> writes:

> 2011/3/7 Ludovic Courtès <ludo@gnu.org>:
>> Hi Andreas,
>>
>> Andreas Rottmann <a.rottmann@gmx.at> 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 “Record-type definitions may only occur at top-level”, and
>> I’m inclined to stick to it.
>
> FWIW, R7RS is lifting this restriction.

But then it’s not SRFI-9.  :-)

Thanks,
Ludo’.



  reply	other threads:[~2011-03-06 23:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06 16:39 [PATCH] Don't mix definitions and expressions in SRFI-9 Andreas Rottmann
2011-03-06 22:26 ` Ludovic Courtès
2011-03-06 23:05   ` Alex Shinn
2011-03-06 23:21     ` Ludovic Courtès [this message]
2011-03-07  0:31   ` Andreas Rottmann
2011-03-07 10:55     ` Andy Wingo
2011-03-07 10:52   ` Andy Wingo
2011-03-07 13:36     ` Ludovic Courtès
2011-03-08  0:37       ` Andreas Rottmann
2011-03-09 20:43         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8762rv6djc.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alexshinn@gmail.com \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).