I just finished reading the paper "Languages as Libraries", which really
helped as an introduction to racket's language system (i had previously
been ignoring the syntax features).

I did have one question from it, which wasn't quite made clear in the
interoperability section, or so it seems: how does the box `typed-context?`
get into the modules that are not part of that language? Or more generally
how would you solve this problem of needing to know which language of a
module you are in without modifying the other languages? I was wondering if
it was a hackaround or if there was a way to do generically in any language
i might make.

I grepped the source code and it looks like it's even exposed to the user
in a function `syntax-local-typed-context?`, but i noticed that module
never actually imports `typed-context?`.

I suppose if it is a hack i could just reflect on the namespace to solve
the problem, but i thought i would send a mail here to check.

Thanks for the great work everyone!

Nate

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CAM-xLPpey6e2S_JsBi_ZA_0OAC%2Bh8NJDrVYRv63fWmYrWiig1A%40mail.gmail.com.

Reply via email to