Comment

Comment by johnnyg

He lost me here:

function g(h) { return function(y) { return h(h(y)); }; }

81 === g(function(x) { return x * x; })(3);

Specifically, why is this allowed and where can I go read about it?

return h(h(y));

parent johnnyg 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton