[Haskell-beginners] Is this a GHC bug? Problem inferring type

Peter Hall peter.hall at memorphic.com
Sat Jun 8 22:11:13 CEST 2013


>
>> Show a => a -> a -> String
>>
>
> ...is not monomorphic. If you want that to be inferred, turn off the
> monomorphism restriction. (And yes, many people *do* consider the
> monomorphism restriction of standard Haskell to be a bug in the
> specification.)
>
>
When are we due a new spec? 1998 was quite a while ago...

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130608/3c240a50/attachment.htm>


More information about the Beginners mailing list