[Haskell-beginners] Closure: exact wording

Galaxy Being borgauf at gmail.com
Fri Mar 26 21:32:01 UTC 2021


I've got this

addTwo x y = x + y
aT5 = addTwo 5
> aT5 3
8

Is it right to say aT5 is a closure over 5, or a closure over addTwo 5?

LB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20210326/cd2c6472/attachment.html>


More information about the Beginners mailing list