src/basilisp/lang/runtime.py
def print_generated_python(
    var_name: str = _PRINT_GENERATED_PY_VAR_NAME, core_ns_name: str = CORE_NS
) -> bool:
    """Return the value of the `*print-generated-python*` dynamic variable."""
    ns_sym = sym.Symbol(var_name, ns=core_ns_name)
    return (
        Maybe(Var.find(ns_sym))
        .map(lambda v: v.value)
        .or_else_raise(lambda: RuntimeException(f"Dynamic Var {ns_sym} not bound!"))
    )
def print_generated_python(
    var_name: str = _PRINT_GENERATED_PY_VAR_NAME, core_ns_name: str = CORE_NS
) -> bool:
    """Return the value of the `*print-generated-python*` dynamic variable."""
    ns_sym = sym.Symbol(var_name, ns=core_ns_name)
    return (
        Maybe(Var.find(ns_sym))
        .map(lambda v: v.value)
        .or_else_raise(lambda: RuntimeException(f"Dynamic Var {ns_sym} not bound!"))
    )
def print_generated_python ( var_name : str = _PRINT_GENERATED_PY_VAR_NAME , core_ns_name : str = CORE_NS ) -> bool : ns_sym = sym . Symbol ( var_name , ns = core_ns_name ) return ( Maybe ( Var . find ( ns_sym ) ) . map ( lambda v : v . value ) . or_else_raise ( lambda : RuntimeException ( f"Dynamic Var {ns_sym} not bound!" ) ) )
Return the value of the `*print-generated-python*` dynamic variable.
Return the value of the * print - generated - python * dynamic variable .