[Haskell-cafe] Instances for Data.Text

Paulo Tanimoto tanimoto at arizona.edu
Tue Sep 29 11:07:23 EDT 2009

Hi Titto,

On Tue, Sep 29, 2009 at 3:15 AM, Pasqualino "Titto" Assini
<tittoassini at gmail.com> wrote:
> More in general: what is the right policy for instances definition?
> Should the library author provide them, at least for the most common
> and appropriate classes (at the cost of adding some additional
> dependencies) ?
> Should they go in a separate package?
> Should the Haskell Platform team provide some guidance on this point
> to library authors?
>      titto

Thanks for changing the subject, I forgot to do that.  I have a
similar derivation for a Data.Binary instance, but after looking at
Text.Internal, I got the impression that it wasn't as efficient as it
could be.

But yes, in general this boils down to your questions.  I do remember
someone asking a similar question perhaps a year or so ago.  Now that
we have Haskell Platform, does that change anything?  In particular, I
believe Data.Binary is proposed for inclusion in the platform.



More information about the Haskell-Cafe mailing list