[racket] Help understanding error: compile: access from an uncertified context to unexported variable from module

From: Marijn (hkBst at gentoo.org)
Date: Mon Jun 20 05:05:10 EDT 2011

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/17/11 14:34, Matthias Felleisen wrote:
> 
> With this: 
> 
> #lang racket/load
> (module macro racket
>  (provide dlist)
>  (define-syntax (dlist stx)
>    #`(shared ([x (make-link x)])
>        x))
>  (define-struct link (l)))
> 
> (module use racket
>  (require 'macro)
>  (dlist 3))
> 
> It seems to work. 

Thanks, I'll use `define-struct' and `make-' for now until this is fixed.

Marijn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3/DUYACgkQp/VmCx0OL2xuBACfS+y3irSccXWGppWXt9rpn9Q+
ImgAoL01TWxWG2eijr5cC+ttLRD04dAa
=pnoD
-----END PGP SIGNATURE-----


Posted on the users mailing list.