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
On Fri, Mar 6, 2009 at 12:05 PM, Wolfgang Jeltsch <g9ks157k@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@zednenem.com> <http://www.eyrie.org/~zednenem/>
2009/3/6 David Menendez <dave@zednenem.com>:
On Fri, Mar 6, 2009 at 12:05 PM, Wolfgang Jeltsch <g9ks157k@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 ?
On 2009 Mar 6, at 12:24, David Menendez wrote:
How about CharSequence?
I'd be tempted on first sight to assume that's related to Data.Seq. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH
participants (4)
-
Brandon S. Allbery KF8NH -
David Menendez -
minh thu -
Wolfgang Jeltsch