Comment on Haskell is beautiful in practiceparentComments−shrughes16y...and the strictness operator for ensuring that a function is applied to a value correctly.($) isn't any kind of strictness operator -- maybe you're thinking of ($!). ($) is a plain old function application operator.−blasdel16yIt's strictness for applicative precedence, as ($) is the least of the operators, like a greedy open-paren.
Comments
...and the strictness operator for ensuring that a function is applied to a value correctly.
($) isn't any kind of strictness operator -- maybe you're thinking of ($!). ($) is a plain old function application operator.
It's strictness for applicative precedence, as ($) is the least of the operators, like a greedy open-paren.