|
From: | felix |
Subject: | Re: [Chicken-users] Modules + define-record-type |
Date: | Sun, 27 Jun 2004 14:01:16 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
Grzegorz Chrupała wrote:
Hi all, Some more fun with psyntax modules and macros :)In Chicken 1.51 it was possible to use define-record-type in definition context in a module body like so:(module foo (make-bar bar? quux) (define-record-type *bar* (make-bar x) bar? (x bar-x)) (define quux 42) ) In version 1.54 this now gives an error: "Error: missing definition for export(s): (quux)",presumably because define-record-type no longer expands to a valid group of definitions.
Yes, the implementation of define-record-type changed significantly (and is now much more efficient).
Would it be possible to make define-record-type compatible again with modules?
Yes, this will be fixed, ASAP. Thanks for testing the module system... ;-) cheers, felix
[Prev in Thread] | Current Thread | [Next in Thread] |