tree-sitter-haskell alternatives and similar packages
Based on the "Haskell" category.
Alternatively, view tree-sitter-haskell alternatives based on common mentions on social networks and blogs.
Declare that a typeclass instance should not exist.
Do you think we are missing an alternative of tree-sitter-haskell or a related project?
Haskell grammar for tree-sitter.
Note This grammar needs at least tree-sitter
- [Haskell 2010 Language Report – Syntax References](ref)
- [GHC Language Extensions](ext)
#else directives cannot be handled correctly, since the parser state would have to be
manually reset to what it was at the
As a workaround, the code blocks in the alternative branches are parsed as part of the directives.
NondecreasingIndentation is not supported (yet?).
Operators on newlines in
A strange edge case is when an infix operator follows an expression statement of a do block with an indent of less or equal the
do's layout column:
f = do readSomething >>= doSomething
>>= causes the
do's layout to be terminated, resulting in an AST similar to
f = (do readSomething) >>= doSomething
This is checked heuristically, probably unreliably.