from functools import reduce


def pipeline(seed, *funcs):
    """Compose functions where the return value of one is the argument
       to the next, starting with the <seed> data."""
    return reduce(lambda accu,func: func(accu), funcs, seed)