I have a bunch of functions in a list:

```
funcs = [f1, f2, f3, f4, f5]

```

and all of the functions take in return a single argument, eg.

```
f1 = lambda x: x*2

```

I'd like to map all these functions together

```
result = lambda x: f5(f4(f3(f2(f1(x)))))

```

or, iterating over `funcs`

```
def dispatch(x):
    for f in funcs:
        x = f(x)
    return x

```

`dispatch` works fine, but I couldn't figure out a clean way to do this using `iterools`. Is it possible? Does this sequential function mapping idiom have a name?