[Haskell] string type class

David Menendez dave at zednenem.com
Fri Mar 6 12:24:20 EST 2009


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?

-- 
Dave Menendez <dave at zednenem.com>
<http://www.eyrie.org/~zednenem/>


More information about the Haskell mailing list