[Haskell] string type class

Wolfgang Jeltsch g9ks157k at acme.softbase.org
Fri Mar 6 12:05:48 EST 2009


Am Freitag, 6. März 2009 17:31 schrieben Sie:
> What name would you suggest?

If we wouldn’t have to care about compatibility, I would name the class String 
and drop the type alias String.

It’s hard to come up with a good name since String is already taken. However, 
things like StringLike, Stringy, Chars etc. are probable still better than 
IsString since they describe the things (values of instances of that class) 
instead of stating a property of them.

Best wishes,
Wolfgang


More information about the Haskell mailing list