This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
- 21 Mar, 2008 1 commit
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...