We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When you have a file with the following:
{-# LANGUAGE TypeOperators #-} type x :^: y = y -> x
haskell-decl-scan will erroneously list this under Datatypes -> x.
Datatypes -> x
I believe it's because this:
(if (looking-at "[ \t]*\\(\\sw+\\)") (progn (setq name (match-string-no-properties 1)) (setq name-pos (match-beginning 1)) (setq type 'datatype)))
just takes the first identifier listed there (without considering whether it's a valid name for a data type).
On the other hand, if we define the datatype as follows:
type (:^:) x y = y -> x
then haskell-decl-scan doesn't pick it up at all.
The text was updated successfully, but these errors were encountered:
This issue has not seen activity for a very long time. Is this still something we should be concerned about?
Sorry, something went wrong.
Related #1122.
No branches or pull requests
When you have a file with the following:
haskell-decl-scan will erroneously list this under
Datatypes -> x
.I believe it's because this:
just takes the first identifier listed there (without considering whether it's a valid name for a data type).
On the other hand, if we define the datatype as follows:
then haskell-decl-scan doesn't pick it up at all.
The text was updated successfully, but these errors were encountered: