I understand this is not possible in C#; the nearest thing is to form an alias at the top of the code file. Is there a way to do this in F#?
See this question for the C# analogue of my question:
My guess is “No, use an alias.” but nothing ventured, nothing gained.
The smallest scope for opening namespaces is in a module.
A workaround is to put a function and its opening namespaces into an auto-open submodule in order that
opencommands do not pollute parent modules and the submodule is transparent to users: