src/basilisp/lang/runtime.py
def add_default_import(cls, module: str):
        """Add a gated default import to the default imports.

        In particular, we need to avoid importing 'basilisp.core' before we have
        finished macro-expanding."""
        if module in cls.GATED_IMPORTS:
            cls.DEFAULT_IMPORTS.swap(lambda s: s.cons(sym.symbol(module)))
def add_default_import(cls, module: str):
        if module in cls.GATED_IMPORTS:
            cls.DEFAULT_IMPORTS.swap(lambda s: s.cons(sym.symbol(module)))
def add_default_import ( cls , module : str ) : if module in cls . GATED_IMPORTS : cls . DEFAULT_IMPORTS . swap ( lambda s : s . cons ( sym . symbol ( module ) ) )
Add a gated default import to the default imports.

        In particular, we need to avoid importing 'basilisp.core' before we have
        finished macro-expanding.
Add a gated default import to the default imports .