Re: [racket-users] is there a way to syntax-local-lift- something into a define-syntax?

2016-10-09 Thread Stephen Chang
Yes, that worked. Thanks. On Sun, Oct 9, 2016 at 8:11 AM, Matthew Flatt wrote: > Does `syntax-local-lift-module-end-declaration` work? > > At Sat, 8 Oct 2016 19:29:19 -0400, Stephen Chang wrote: >> I'm trying to write a provide transformer that wraps a provided >> identifier

Re: [racket-users] is there a way to syntax-local-lift- something into a define-syntax?

2016-10-09 Thread Matthew Flatt
Does `syntax-local-lift-module-end-declaration` work? At Sat, 8 Oct 2016 19:29:19 -0400, Stephen Chang wrote: > I'm trying to write a provide transformer that wraps a provided > identifier and then provides that instead. > > For example, > #lang racket > (require (for-syntax syntax/parse

[racket-users] is there a way to syntax-local-lift- something into a define-syntax?

2016-10-08 Thread Stephen Chang
I'm trying to write a provide transformer that wraps a provided identifier and then provides that instead. For example, #lang racket (require (for-syntax syntax/parse racket/provide-transform)) (define-syntax wrapped-out (make-provide-pre-transformer (lambda (stx modes) (syntax-parse