6 Aug
2005
6 Aug
'05
3:01 p.m.
On 07/08/2005, at 12:47 AM, Srinivas Nedunuri wrote:
Finally a plain English explanation of the silly thing. Thank you! I tried reading the Haskell report's version of it, and yes I'm sure it has all the gory technical details, but at the end I was still left thinking So exactly what is the monomorphism restriction? Why on earth couldn't they have added a simple one line explanation like this?
If you're using GHC, a possibly very simple solution to your program is to add the -fno-monomorphism-restriction flag to the compilation, and pray you don't run into another type error ;) -- % Andre Pang : trust.in.love.to.save <http://www.algorithm.com.au/>