unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: ludo@gnu.org (Ludovic Courtès)
Cc: guile-devel@gnu.org
Subject: Re: [PATCH] Don't mix definitions and expressions in SRFI-9
Date: Mon, 07 Mar 2011 11:52:57 +0100	[thread overview]
Message-ID: <m3bp1nb3sm.fsf@unquote.localdomain> (raw)
In-Reply-To: <87mxl77un3.fsf@gnu.org> ("Ludovic Courtès"'s message of "Sun, 06 Mar 2011 23:26:40 +0100")

On Sun 06 Mar 2011 23:26, ludo@gnu.org (Ludovic Courtès) writes:

> 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.  If we diverge, then people could write
> code thinking it’s portable SRFI-9 code while it’s not.

Does anyone actually care about this?  We provide many compatible
extensions to standard interfaces.  It seems like this would be an
"unnecessary restriction which makes `let-record-type' seem necessary".
Especially given that the patch actually removes an unused line :)

Regards,

Andy
-- 
http://wingolog.org/



  parent reply	other threads:[~2011-03-07 10:52 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
2011-03-07  0:31   ` Andreas Rottmann
2011-03-07 10:55     ` Andy Wingo
2011-03-07 10:52   ` Andy Wingo [this message]
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=m3bp1nb3sm.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=guile-devel@gnu.org \
    --cc=ludo@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).