Skip to content

Parsing data constructors with quotes #63

@georgefst

Description

@georgefst
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.

This is rather a shame, as using T' for a structure similar to T is a pretty common haskell idiom.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions