Le dimanche 4 décembre 2016 04:18:44 UTC+1, Robby Findler a écrit :
> The fully expanded form of the original program doesn't have a require
> that brings in displayln?

Indeed, if I use (#%require lng) the arrows get drawn.

However, the body can require libraries which shadow some of the 
language-provided bindings, e.g. (require type-expander) shadows some of the 
bindings imported by #lang typed/racket. I therefore use (#%require (only lng)) 
to make sure the lng module is available, without creating potential conflicts 
with other required modules.

I was hoping there would be some trick similar to disappeared-use and 
disappeared-bindings that would help me solve this problem. I suppose I could 
apply a 'disappeared-binding property to the "racket/base" on the second line, 
using a list containing every binding imported by the "module language".

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