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
data Tree' a = Leaf' a | Node' (Tree' a) (Tree' a) deriving Show t1 :: Tree' Int t1 = Node' (Leaf' 1) (Leaf' 2)
pPrint t1 produces Node' (Leaf' 1, with the colouring also messed up.
pPrint t1
Node' (Leaf' 1
This is rather a shame, as using T' for a structure similar to T is a pretty common haskell idiom.
T'
T
The text was updated successfully, but these errors were encountered:
@georgefst Thanks for creating this issue.
I'd be happy to merge in a PR fixing this if you wanted to take a shot at it.
Or, if you wanted to run a git bisect and figure out where this was introduced, it might help someone else figure out how this can be fixed.
git bisect
Without actually looking into it at all, my guess is that this was introduced by #57. (ping @sjakobi just in case)
Sorry, something went wrong.
Just checked and it works correctly with the 3.1.1.0 release, so that looks very likely.
I may look into this on the weekend, but I've got quite a backlog at the moment.
Successfully merging a pull request may close this issue.
pPrint t1
producesNode' (Leaf' 1
, with the colouring also messed up.This is rather a shame, as using
T'
for a structure similar toT
is a pretty common haskell idiom.The text was updated successfully, but these errors were encountered: