String literals

Lennart Augustsson lennart at augustsson.net
Tue Nov 14 19:10:44 EST 2006


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
> http://www.haskell.org/mailman/listinfo/haskell-prime



More information about the Haskell-prime mailing list