Data.Display - Textual representation of Haskell values (was Re: PROPOSAL: Add displayException to Exception typeclass)

Simon Hengel sol at typeful.net
Wed Nov 12 10:34:28 UTC 2014


Hey Greg,

> Your interpolate package looks the same as shakespeare-text, and Display
> seems similar to ToText.
> 
> http://hackage.haskell.org/package/shakespeare-2.0.1.1/docs/Text-Shakespeare-Text.html
> 
> It would make sense to have a single Display typeclass.

You always go through builder, which I guess makes sense in the context
of templating/interpolation.  BTW, there are more direct (and I assume
efficient) instances for numeric types.  I'll open a PR.

Regarding Display, I'll try to push it out on the weekend.

Cheers,
Simon


More information about the Libraries mailing list