3 ms·
Most of the time, I'd rather hit StackOverflow than interrupt a coworker. Apart from that this solving sequence is on the spot, even though the author is appar
by nandemo 15y ago
Most of the time, I'd rather hit StackOverflow than interrupt a coworker.
Apart from that this solving sequence is on the spot, even though the author is apparently critical of it. For the record, I started programming in the early 90s, before I had access to the internet.
Here's a message that I got while doing some Haskell code. If I were to RTFM first, i.e. read the Haskell Report, it would take me perhaps more than 1 hour to understand the problem. If I google it I will be able to understand the general idea and decide between the compiler's suggestions in a couple of minutes. I can always go back to the specification later to acquire a more solid understanding of the language.
Ambiguous type variable `a' in the constraint:
`Show a' arising from a use of `show' at ParseQuote.hs:123:11-16
Possible cause: the monomorphism restriction applied to the following:
f2 :: a -> String (bound at Foo.hs:123:0)
Probable fix: give these definition(s) an explicit type signature
or use -XNoMonomorphismRestriction