src/basilisp/lang/runtime.py
def remove(cls, name: sym.Symbol) -> Optional["Namespace"]:
        """Remove the namespace bound to the symbol `name` in the global
        namespace cache and return that namespace.
        Return None if the namespace did not exist in the cache."""
        while True:
            oldval: lmap.Map = cls._NAMESPACES.deref()
            ns: Optional[Namespace] = oldval.entry(name, None)
            newval = oldval
            if ns is not None:
                newval = oldval.dissoc(name)
            if cls._NAMESPACES.compare_and_set(oldval, newval):
                return ns
def remove(cls, name: sym.Symbol) -> Optional["Namespace"]:
        """Remove the namespace bound to the symbol `name` in the global
        namespace cache and return that namespace.
        Return None if the namespace did not exist in the cache."""
        while True:
            oldval: lmap.Map = cls._NAMESPACES.deref()
            ns: Optional[Namespace] = oldval.entry(name, None)
            newval = oldval
            if ns is not None:
                newval = oldval.dissoc(name)
            if cls._NAMESPACES.compare_and_set(oldval, newval):
                return ns
def remove ( cls , name : sym . Symbol ) -> Optional [ "Namespace" ] : while True : oldval : lmap . Map = cls . _NAMESPACES . deref ( ) ns : Optional [ Namespace ] = oldval . entry ( name , None ) newval = oldval if ns is not None : newval = oldval . dissoc ( name ) if cls . _NAMESPACES . compare_and_set ( oldval , newval ) : return ns
Remove the namespace bound to the symbol `name` in the global
        namespace cache and return that namespace.
        Return None if the namespace did not exist in the cache.
Remove the namespace bound to the symbol name in the global namespace cache and return that namespace . Return None if the namespace did not exist in the cache .