-
Duncan Coutts authored
This is intended to replace all these showFoo read/parseFoo functions we have all over the place. It's like the Read/Show classes but uses a half decent parser and pretty printer: class Text a where disp :: a -> Doc parse :: ReadP a This patch just adds the class and an instance for Bool, replacing the parseBool function used in a few places. More to follow...
Duncan Coutts authoredThis is intended to replace all these showFoo read/parseFoo functions we have all over the place. It's like the Read/Show classes but uses a half decent parser and pretty printer: class Text a where disp :: a -> Doc parse :: ReadP a This patch just adds the class and an instance for Bool, replacing the parseBool function used in a few places. More to follow...
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Cabal.cabal 2.97 KiB