You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a function is defined in infix syntax, haskell-definition-face applies to the function name. So in the following, op will bear the definition face.
foo `op` bar = undefined
However, haskell-definition-face will fail to be assigned when an as-pattern precedes the function name. So, op below receives haskell-operator-face.
foo@Nothing `op` bar = undefined
The text was updated successfully, but these errors were encountered:
Ugh, this one is real tough, if we complicate a little:
foo@RadomRecord { withFields = (_,Just assignAVar) } `op` bar
going over the part after @ needs more than a regexp. I'm guessing it is doable in Emacs, but current haskell-font-lock.el does not allow for an easy way of doing it.
When a function is defined in infix syntax, haskell-definition-face applies to the function name. So in the following,
op
will bear the definition face.However, haskell-definition-face will fail to be assigned when an as-pattern precedes the function name. So,
op
below receives haskell-operator-face.The text was updated successfully, but these errors were encountered: