ashley at semantic.org
Tue Nov 14 20:02:05 EST 2006
As long as no-one is tempted to create "instance IsChar Word8", I'll be
Have you considered possible type ambiguity issues? There may be a case
for generalising "++" to the Monoid class, but that might not work well
-- Ashley Yakeley
Lennart Augustsson wrote:
> There will never be any implicit conversion. Any overloading you create
> will have to decide how to treat the [Char].
> -- Lennart
> On Nov 14, 2006, at 17:42 , Ashley Yakeley wrote:
>> Lennart Augustsson wrote:
>>> I think it's time that string literals got overloaded just like
>>> numeric literals.
>> I'm suspicious, but as long as a Char is never ever implicitly
>> coverted to an integer type such as Word8, I suppose it might be OK.
>> I will rant about this on request.
>> --Ashley Yakeley
>> Haskell-prime mailing list
>> Haskell-prime at haskell.org
More information about the Haskell-prime