[Haskell-cafe] blaze-builder and FlexibleInstances in code that aims to become part of the Haskell platform

Antoine Latter aslatter at gmail.com
Wed May 18 23:21:27 CEST 2011


On Wed, May 18, 2011 at 12:32 PM, Simon Meier <iridcode at gmail.com> wrote:
> I think this type-class based interface to select the correct
> efficient implementation of an encoding is rather nice. However, I
> don't know if 'FlexibleInstances' and 'FlexibleContexts' are fine to
> use in code that aims to become part of the Haskell platform.
> Moreover, I might well overlook some drawbacks of this design.
>

I forgot to answer your main question :-)

I don't have a problem with these extensions being in the Haskell
Platform, as the platform currently only targets GHC, but the
bytestring package itself might have a higher standard of portability.

Have you heard from the 'bytestring' maintainers?

Antoine



More information about the Haskell-Cafe mailing list