src/basilisp/lang/multifn.py
def multifn(dispatch: DispatchFunction, default=None) -> MultiFunction[T]:
    """Decorator function which can be used to make Python multi functions."""
    name = sym.symbol(dispatch.__qualname__, ns=dispatch.__module__)
    return MultiFunction(name, dispatch, default)
def multifn(dispatch: DispatchFunction, default=None) -> MultiFunction[T]:
    name = sym.symbol(dispatch.__qualname__, ns=dispatch.__module__)
    return MultiFunction(name, dispatch, default)
def multifn ( dispatch : DispatchFunction , default = None ) -> MultiFunction [ T ] : name = sym . symbol ( dispatch . __qualname__ , ns = dispatch . __module__ ) return MultiFunction ( name , dispatch , default )
Decorator function which can be used to make Python multi functions.
Decorator function which can be used to make Python multi functions .