Replies: 1 comment
-
|
In many languages, there is a way to refer to the global or top-level namespace. For example, in C++ you would write a leading Along those lines, my first thoughts were something like: Maybe there is a better way to do it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The following program:
results in the error
This makes sense, since in
port.to_stringport is now bound to the input argument.The intention was however to use
to_stringwhich was imported from "racket-port.rkt".Is there a way to get the
to_stringimported from "racket-port.rkt" if the identifierportis shadowed?The file
racket-port.rkt.Beta Was this translation helpful? Give feedback.
All reactions