On Saturday, November 28, 2015 at 11:24:28 PM UTC, Matthew Flatt wrote:
> That is, `import` is a binding form, just like `let`. 
Oh, that makes sense. So it gets swapped in the macro for a hygenic named 
variable, and the ones I pass by that name don't get swapped in the same 
fashion, thus aren't bound.

Maybe I'll try your non-hygenic thing. I could also just 

(define-syntax-rule (asyn imp^ body ...)
  (unit
    (import imp^)
    (export)
    body ...))

...or something. 

Probably not be very useful, since you might as well use the unit syntax if 
you're going to be specifying imports and exports with every invocation. I like 
your non-hygenic solution better. Which is to say I don't like it, but heck if 
I know a better way to make things that create a unit of one single specific 
signature.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to