6 Mar
2009
6 Mar
'09
4:16 p.m.
2009/3/6 Wolfgang Jeltsch <g9ks157k@acme.softbase.org>:
Am Freitag, 6. März 2009 13:33 schrieb Matthew Pocock:
Hi,
It seems every time I look at hackage there is yet another stringy datatype. For lots of apps, the particular stringy datatype you use matters for performance but not algorithmic reasons. Perhaps this is a good time for someone to propose a stringy class?
Matthew
There is already the class IsString which was introduced for overloaded string literals.
However, the name is terrible. No other Haskell class I know of has an “Is” at its beginning. Classes don’t name properties (IsNum, IsMonoid, Has…).
LLVM bindings use it a lot... Cheers, Thu