guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Don't mix definitions and expressions in SRFI-9


From: Ludovic Courtès
Subject: Re: [PATCH] Don't mix definitions and expressions in SRFI-9
Date: Mon, 07 Mar 2011 00:21:27 +0100
User-agent: Gnus/5.110013 (No Gnus v0.13) Emacs/23.2 (gnu/linux)

Hi Alex,

Alex Shinn <address@hidden> writes:

> 2011/3/7 Ludovic Courtès <address@hidden>:
>> Hi Andreas,
>>
>> Andreas Rottmann <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]