Hacker News new | past | comments | ask | show | jobs | submit login

Even in that code block, <|> and <$> both have roughly the common meanings of | and $ elsewhere in Haskell, which is the "next case" operator for pattern matching expressions and the strictness operator for ensuring that a function is applied to a value correctly.

Only <* is a really new construction.




...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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: