I'm currently working on a pretty-printer for lazy text [1] values,
basing the API on the wl-pprint [2] package.

[1]: http://hackage.haskell.org/package/text
[2]: http://hackage.haskell.org/package/wl-pprint

In terms of API decisions, there are a few things I'm not sure of and
am wondering what other people would prefer:

* Should the SimpleDoc type still be exported?  Or should the
rendering functions just return a Builder or lazy Text value?

* Is the Pretty class wanted/needed?  If so, should the individual
combinators (int, bool, etc.) be kept or just use "pretty" for
everything?

* Should String values be catered for or just have everything be Text-based?

-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to