[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Modules + define-record-type
From: |
Grzegorz Chrupała |
Subject: |
[Chicken-users] Modules + define-record-type |
Date: |
Sat, 26 Jun 2004 11:55:55 +0200 |
User-agent: |
KMail/1.5.3 |
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.
Would it be possible to make define-record-type compatible again with
modules?
Cheers,
--
Grzegorz Chrupała | http://pithekos.net | address@hidden
A scholar is just a library's way of making another library.
-- Daniel Dennett, Consciousness Explained
- [Chicken-users] Modules + define-record-type,
Grzegorz Chrupała <=