Let's also make number literals monomorphic to Integer
and provide an n :: Num a => Integer -> a
!
On 2013-08-26 at 19:39:40 +0200, Henning Thielemann wrote:it's almost perfect imho, except maybe for the minor issue that you will
> On Mon, 26 Aug 2013, Henning Thielemann wrote:
>
>> This "opting in" already exists: Just put a space between o and the
>> quotation mark and define "o = fromString". It's Haskell 98.
>
> I was wrong: You even don't need the space between o and ".
have to surround string literals with () or use $ sometimes, as in
length (o"Overloaded String")
cheers,
hvr
_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://www.haskell.org/mailman/listinfo/libraries