@scope.define
def callpipe1(fn_list, arg):
 for f in fn_list:
  arg = f(arg)
 return arg

@ scope . define def callpipe1 ( fn_list , arg ) : for f in fn_list : arg = f ( arg ) return arg
fn_list: a list lambdas that return either pyll expressions or python values arg: the argument to the first function in the list return: fn_list[-1]( .