Zulip Chat Archive

Stream: general

Topic: Abbreviating a namespace


cmlsharp (Jan 27 2026 at 19:35):

Is it possible to create an 'alias' for a deeply nested namespace?

E.g. if I have Foo.Bar.Baz.qux do something like

open Foo.Bar.Baz as B

and then use B.qux

I understand as a middle ground I could do open Foo.Bar and then do Baz.qux, but is there any way to shorten Baz to some arbitrary string?

Yury G. Kudryashov (Jan 27 2026 at 21:06):

You can create a namespace, then import (export?) everything from another namespace, but this would affect downstream files.


Last updated: Feb 28 2026 at 14:05 UTC