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
haskell-ident-pos-at-point returns nil when point stands at operator. I believe it should work for them too. We have two cases: infix and normal form. I believe for normal form this function should take into account surrounding parentheses too.
One caveat: it's not clear what to do when point is at operator in unfinished expression preceded by opening parenthesis, e.g. (++. It may refer to (++ xs) or (++), the former is an infix form and latter is a normal form. I think in this case it's better not to include parenthesis.