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: Andy Wingo
Subject: Re: [PATCH] Don't mix definitions and expressions in SRFI-9
Date: Mon, 07 Mar 2011 11:55:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Mon 07 Mar 2011 01:31, Andreas Rottmann <address@hidden> writes:

> I have a testing framework (built upon Riastradh's trc-testing), which
> uses R6RS `eval' to load testcases.  Since `eval' does not allow for
> the code to be evaluated to be in a top-level context, I'm using this:
>
> (eval `(let () ,@code-to-be-tested) the-environment-for-the-code)

It would seem that if we followed the spec strictly -- not an approach
that I think is sensible -- you may not use R6RS `eval' to define record
types.

Regards,

Andy
-- 
http://wingolog.org/



reply via email to

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