Nope, that doesn’t work. If you try it, you’ll see that some-fn is still 
available in phase 1. That’s because the (provide (all-from-out (submod ".." 
b))) provides it as well, which is why I’ve been struggling.

> On Jun 28, 2015, at 13:09, Benjamin Greenman <bl...@cornell.edu> wrote:
> 
> No problem, just change the provides around. Maybe the problem is that you're 
> missing the (require (for-syntax ...)) ?
> 
> (module c racket/base
>   ;; Require & provide everything except `some-fun` at phase 1
>   (require (for-syntax (except-in (submod ".." b) some-fn)))
>   (provide (for-syntax (all-from-out (submod ".." b))))
>   ;; Require & provide everything at phase 0
>   (require (submod ".." b))
>   (provide (all-from-out (submod ".." b))))

-- 
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