[racket-dev] Cross-phase persistent modules

2013-04-05 Thread Carl Eastlund
These seem great. I'd like to build a macro that defines cross-phase persistent structures, so that I can make structs that can be quoted in syntax reliably. For that, I'd like a little more built-in support. (Ultimately, if struct from racket/base supported a #:cross-phase-persistent option that

Re: [racket-dev] Cross-phase persistent modules

2013-04-05 Thread Carl Eastlund
On further inspection, it looks like the grammar for cross-phase persistent modules is not clear about where cross-expr is required and where more general exprs are allowed. The define-values form requires cross-expr, which makes sense. The #%plain-lambda and case-lambda forms appear to permit ge