haskell / pretty

Haskell Pretty-printer library
Other
69 stars 30 forks source link

pretty printing type class #11

Closed davidlazar closed 9 years ago

davidlazar commented 10 years ago

Can we add a pretty printing type class similar to the Pretty class in ansi-wl-pprint? Then we wouldn't need separate packages like prettyclass and pretty-class. A class provided by pretty itself would also get wider adoption.

Rufflewind commented 9 years ago

It looks like pretty-class is already marked as deprecated, so authors should be migrating to prettyclass instead. Adding a new one for pretty could make the problem worse.

dterei commented 9 years ago

Agreed. I've emailed Lennart to see if he is interested in merging prettyclass as-is into pretty and then deprecating that package. If he is on-board then I think that makes sense. Otherwise I agree adding a third option isn't good.

dterei commented 9 years ago

Spoke with Lennart and he is supportive of deprecating prettyclass and merging it into pretty, so doing just that.