On Tue, May 18, 1999 at 02:22:55PM +0100, Keith Wansbrough wrote:
> Does anyone else think this is a brilliant idea that should be
> implemented? I float the idea in case (1) someone else is already
> doing this, or (2) someone else is interested in doing it. It
> shouldn't be too hard, but I don't have time right now...
Were you thinking of something like:
class Stringy foo where
toString :: foo -> String
someop :: foo -> foo -> foo
...
and just use Stringy foo => foo instead of String everywhere?
Or just having a special type for fast string manipulation.
I would welcome either. However, there is a huge body of code that
assumes strings are lists of chars.
Giuliano.
-- [EMAIL PROTECTED]