Comment 11 for bug 180455

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote : Re: [Bug 180455] Re: unbound identifier with define-record-type run as file but not in REPL

On Jan 5, 2008, at 4:16 AM, leppie wrote:

> &syntax: (define-record library (id name version imp* vis*
> inv* subst env visit-state invoke-state visible?)) id

There's a clue maybe at the last 2 chars of that line. Did you
remove your syntax->datum around "field" here:
                       (lambda (field)
                          #`(mutable
                             #,(syntax->datum field) <======
                             #,(string->symbol
                                (string-append
                                 (symbol->string