3 ms·
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 matchi
by DannoHung 17y ago
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.
- shrughes 17y ago...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.
- blasdel 17y agoIt's strictness for applicative precedence, as ($) is the least of the operators, like a greedy open-paren.