[Haskell-cafe] Strings - why [Char] is not nice

Henning Thielemann iakd0 at clusterf.urz.uni-halle.de
Mon Sep 20 07:30:17 EDT 2004


On Mon, 20 Sep 2004, MR K P SCHUPKE wrote:

> Would it not bet better is String were a typeclass instead of a data type.

It would be nice to have a Sequence type class which provides a uniform
interface for common operations on List and Array, Lists of Arrays and so
on. Then String could be based on whatever implementation of a Sequence.



More information about the Haskell-Cafe mailing list