4 ms·
It seems ironic that in an article on a programming language named after Haskell Curry, it says: ...to take a function of two arguments, say f(.,.), and constr
by ubasu 16y ago
It seems ironic that in an article on a programming language named after Haskell Curry, it says:
...to take a function of two arguments, say f(.,.), and construct from it a function of a single variable defined by f_x(y) = f(x,y). Computer scientists call such a thing a closure...
- sharkbot 16y agoI wouldn't consider its use ironic. A curried function is generally implemented using closures (i.e., a function that remembers the lexical environment of its definition). It might be a slight abuse of terminology, but not one that should give much pause.