We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello! This might be a bug for HSE… but perhaps there’s an explanation or restriction that I’m missing.
Consider the following code:
module Foo where test a b = a - b
This is correctly parsed:
% structured-haskell-mode check decl < foo.hs % echo $? 0
However, if I change a - b to a-b (without surrounding spaces), I get:
a - b
a-b
% structured-haskell-mode check decl < foo.hs structured-haskell-mode: Parse error: a-b
Any tips?
Many thanks in advance!
The text was updated successfully, but these errors were encountered:
No idea. :-)
Sorry, something went wrong.
I suspect the parser is seeing "a-b" as an identifier or operator and it is invalid.
No branches or pull requests
Hello! This might be a bug for HSE… but perhaps there’s an explanation or restriction that I’m missing.
Consider the following code:
This is correctly parsed:
However, if I change
a - b
toa-b
(without surrounding spaces), I get:Any tips?
Many thanks in advance!
The text was updated successfully, but these errors were encountered: