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: Alex Shinn
Subject: Re: [PATCH] Don't mix definitions and expressions in SRFI-9
Date: Mon, 7 Mar 2011 08:05:05 +0900

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.

-- 
Alex



reply via email to

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