use Collection.Generic; lambdas Func { Double : (FloatHolder) ~ FloatHolder } class FirstClass { function : Main(args : String[]) ~ Nil { vector := Vector->New() >; # store functions in collections vector->AddBack(Func2Holder->New(\Func->Double : (v) => v * v)); # new function from preexisting function at run-time vector->AddBack(Func2Holder->New(\Func->Double : (v) => Float->SquareRoot(v->Get()))); # process collection each(i : vector) { # return value of other functions and pass argument to other function Show(vector->Get(i)->Get()); }; } function : Show(func : (FloatHolder) ~ FloatHolder) ~ Nil { func(13.5)->Get()->PrintLine(); } }