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

20 Sep
2004
20 Sep
'04
11:25 a.m.
Would it not bet better is String were a typeclass instead of a data type. Then the string operations could be redefined by implementation, so you may have strings as lists or strings as arrays? Keean.

20 Sep
20 Sep
11:30 a.m.
New subject: Strings - why [Char] is not nice
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.
7595
Age (days ago)
7595
Last active (days ago)
1 comments
2 participants
participants (2)
-
Henning Thielemann
-
MR K P SCHUPKE