Re: [Haskell-cafe] Strings - why [Char] is not nice
20 Sep
2004
20 Sep
'04
1:25 p.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
1:30 p.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.
7957
Age (days ago)
7957
Last active (days ago)
1 comments
2 participants
participants (2)
-
Henning Thielemann -
MR K P SCHUPKE