def pipe(data, *fns):
    """Apply functions recursively on your data

    :param data: the data
    :param fns: functions
    :returns: an object

    >>> inc = lambda x: x + 1
    >>> pipe(42, inc, str)
    '43'

    """
    return reduce(lambda acc, f: f(acc), fns, data)
Apply functions recursively on your data

    :param data: the data
    :param fns: functions
    :returns: an object

    >>> inc = lambda x: x + 1
    >>> pipe(42, inc, str)
    '43'