[Haskell] string type class

minh thu noteed at gmail.com
Fri Mar 6 12:49:14 EST 2009


2009/3/6 David Menendez <dave at zednenem.com>:
> On Fri, Mar 6, 2009 at 12:05 PM, Wolfgang Jeltsch
> <g9ks157k at acme.softbase.org> wrote:
>> 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.
>
> How about CharSequence?

Characters ?


More information about the Haskell mailing list