def compose(*functions):
def _compose2(f, g):  <EOL><INDENT>return lambda x: f(g(x))<EOL><DEDENT>return functools.reduce(_compose2, functions, lambda x: x)<EOL>
Define functions composition like f ∘ g ∘ h
    :return: callable object that will perform
    function composition of callables given in argument.