2011/3/7 Ludovic Courtès <l...@gnu.org>: > Hi Andreas, > > Andreas Rottmann <a.rottm...@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. -- Alex