src/basilisp/lang/runtime.py
def partial(f, *args):
    """Return a function which is the partial application of f with args."""

    @functools.wraps(f)
    def partial_f(*inner_args):
        return f(*itertools.chain(args, inner_args))

    return partial_f
def partial(f, *args):
    @functools.wraps(f)
    def partial_f(*inner_args):
        return f(*itertools.chain(args, inner_args))

    return partial_f
def partial ( f , * args ) : @ functools . wraps ( f ) def partial_f ( * inner_args ) : return f ( * itertools . chain ( args , inner_args ) ) return partial_f
Return a function which is the partial application of f with args.
Return a function which is the partial application of f with args .