var a = (1).to(10).collect(Math.pow.curry(undefined,2));