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
Trying to resolve this:
foo ∷ Int foo = sq $ quux * 2 where sq ∷ Int → Int sq x = x * x
I get:
for foo — GlobalSymbol, it's ok:
foo
Ident (Scoped (GlobalSymbol (Value {symbolModule = ModuleName () "HaskellNamesTest", symbolName = Ident () "foo"}) (Qual () (ModuleName () "HaskellNamesTest") (Ident () "foo"))) (SrcSpanInfo {srcInfoSpan = SrcSpan "HaskellNamesTest.hs" 9 1 9 4, srcInfoPoints = []})) "foo"
But for sq I get ScopeError (ENotInScope):
sq
Ident (Scoped (ScopeError (ENotInScope (Qual (SrcSpanInfo {srcInfoSpan = SrcSpan "HaskellNamesTest.hs" 11 9 11 11, srcInfoPoints = []}) (ModuleName (SrcSpanInfo {srcInfoSpan = SrcSpan "HaskellNamesTest.hs" 11 9 11 11, srcInfoPoints = []}) "HaskellNamesTest") (Ident (SrcSpanInfo {srcInfoSpan = SrcSpan "HaskellNamesTest.hs" 11 9 11 11, srcInfoPoints = []}) "sq")))) (SrcSpanInfo {srcInfoSpan = SrcSpan "HaskellNamesTest.hs" 11 9 11 11, srcInfoPoints = []})) "sq"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Trying to resolve this:
I get:
for
foo
— GlobalSymbol, it's ok:But for
sq
I get ScopeError (ENotInScope):The text was updated successfully, but these errors were encountered: