src/basilisp/lang/runtime.py
def __complete_interns(
        self, value: str, include_private_vars: bool = True
    ) -> Iterable[str]:
        """Return an iterable of possible completions matching the given
        prefix from the list of interned Vars."""
        if include_private_vars:
            is_match = Namespace.__completion_matcher(value)
        else:
            _is_match = Namespace.__completion_matcher(value)

            def is_match(entry: Tuple[sym.Symbol, Var]) -> bool:
                return _is_match(entry) and not entry[1].is_private

        return map(
            lambda entry: f"{entry[0].name}",
            filter(is_match, [(s, v) for s, v in self.interns]),
        )
def __complete_interns(
        self, value: str, include_private_vars: bool = True
    ) -> Iterable[str]:
        """Return an iterable of possible completions matching the given
        prefix from the list of interned Vars."""
        if include_private_vars:
            is_match = Namespace.__completion_matcher(value)
        else:
            _is_match = Namespace.__completion_matcher(value)

            def is_match(entry: Tuple[sym.Symbol, Var]) -> bool:
                return _is_match(entry) and not entry[1].is_private

        return map(
            lambda entry: f"{entry[0].name}",
            filter(is_match, [(s, v) for s, v in self.interns]),
        )
def __complete_interns ( self , value : str , include_private_vars : bool = True ) -> Iterable [ str ] : if include_private_vars : is_match = Namespace . __completion_matcher ( value ) else : _is_match = Namespace . __completion_matcher ( value ) def is_match ( entry : Tuple [ sym . Symbol , Var ] ) -> bool : return _is_match ( entry ) and not entry [ 1 ] . is_private return map ( lambda entry : f"{entry[0].name}" , filter ( is_match , [ ( s , v ) for s , v in self . interns ] ) , )
Return an iterable of possible completions matching the given
        prefix from the list of interned Vars.
Return an iterable of possible completions matching the given prefix from the list of interned Vars .