
15 Aug
2015
15 Aug
'15
11:16 a.m.
Shishir Srivastava wrote:
Is partial application feature of functions in haskell a direct outcome of lazy evaluation ?
I wouldn't say so. If f is a function of two variables, then you can think of (f x) as being just an easier way to write \y -> f x y. And surely, you can do that in any language with lambdas, whether lazy or not. You can even do it in javascript: function (y) { return f(x,y) }. – Harald