[Haskell-cafe] Motion to unify all the string data types

Francesco Mazzoli f at mazzo.li
Sat Nov 10 16:41:11 CET 2012

At Sat, 10 Nov 2012 15:16:30 +0100,
Alberto G. Corona  wrote:
> There is a ListLike package, which does this nice abstraction. but I don't
> know if it is ready for and/or enough complete for serious usage.  I´m
> thinking into using it for the same reasons.
> Anyone has some experiences to share about it?

I've used it in the past and it's solid, it's been around for a while and the
original author knows his Haskell.

Things I don't like:

* The classes are huge:
  I'd much rater prefer to have all those utilities functions outside the type
  class, for no particular reason other then the ugliness of the type class.

* It defines its own wrappers for `ByteString':

* It doesn't have instances for `Text', you have to resort to the
  `listlike-instances' package.

In any case I think it's on the right track, I'd really like something like
that, but much simpler, to be in `base'.


More information about the Haskell-Cafe mailing list