Text.ParserCombinators.* is a bad name

Donald Bruce Stewart dons at cse.unsw.edu.au
Wed Mar 8 22:07:38 EST 2006


zednenem:
> Bernard James POPE writes:
> 
> > On Wed, Mar 08, 2006 at 04:42:08PM +1100, Donald Bruce Stewart wrote:
> > > namespace should be deprecated in favour of:
> > > 
> > >     Text.Combinators.ReadP
> > >     Text.Combinators.Parsec
> > >     Text.Combinators.HughesPJ
> > 
> > Sounds reasonable. I wonder whether HughesPJ is also a candidate for
> > renaming to something more descriptive? (No offence to John and Simon)
> 
> One disadvantage of this scheme is that it obscures the difference
> between the parsing combinators and the pretty-printing combinators.
> 
> We wouldn't want to make name of the HughesPJ module too generic, as
> there are also other libraries of pretty printing combinators out there,
> such as Daan Leijen's PPrint.

Yeah, that was one issue. It's not obvious to me what the alternative to
HughesPJ would be though.

-- Don

P.S. It's good to see mailing with a provocative subject line is so
effective for getting responses -- a little tip I picked up from Haskell' ;)


More information about the Libraries mailing list