Understanding the term "current namespace"
Created by: sunqingyao
In Modus operandi, you said that(emphasis mine):
Thus, all evaluations performed by Geiser either in the REPL or in a source code buffer happen in the context of the current namespace. Every time you switch to a different file, you’re switching namespaces automatically; at the REPL, you must request the switch explicitly (usually just using means provided by the Scheme implementation itself).
I cannot understand the bolded phrase "the current namespace" very well. Are you implying that there exists a "current namespace", which is common to a file and a REPL, where all evaluations performed by Geiser either in that REPL or in that source code buffer happen in?
In my understanding, each file has its exclusive namespace, and each REPL has its exclusive namespace, too. This believing is confirmed by the following part of To eval or not to eval:
At the risk of repeating myself, i’ll remind you that all these evaluations will take place in the namespace of the module corresponding to the Scheme file from which you’re sending your code, which, in general, will be different from the REPL’s current module.
Could you please elaborate on this point a little more?