
22 Jan
2011
22 Jan
'11
2:01 p.m.
Finally, are you sure that the given type signature is what you want? Don't you want
test :: Read a => String -> Maybe a
Yes that was a mistake, but the weirder thing is that fixing the type sig does nothing to change the behavior described before: it still fails to compile with -XNoMonomorphismRestriction and compiles fine if it's removed. It's going to take me a while understand absorb your explanation. Thanks! -deech
Jürgen
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners