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
-
The following program:
results in the error
This makes sense, since in
port.to_string
port is now bound to the input argument.The intention was however to use
to_string
which was imported from "racket-port.rkt".Is there a way to get the
to_string
imported from "racket-port.rkt" if the identifierport
is shadowed?The file
racket-port.rkt
.Beta Was this translation helpful? Give feedback.
All reactions