On Thu, Feb 22, 2007 at 07:34:36PM -0800, Stefan O'Rear wrote:
> This really smells like a violation of the "monomorphism
> restriction"[1]. Try again with -fno-monomorphism-restriction, and if
> that fixes it, add a type signature to fix it for good.
>
> [1] http://haskell.org/onlinereport/decls
This really smells like a violation of the "monomorphism
restriction"[1]. Try again with -fno-monomorphism-restriction, and if
that fixes it, add a type signature to fix it for good.
[1] http://haskell.org/onlinereport/decls.html#sect4.5.5
Stefan
___
H
Having the module given below I can't see why using
printAndRerun l1
printAndRerun2 l2
but not
printAndRerun l1
printAndRerun l2
?
They only differ in their name.
Can you point me in the right direction?
{-# OPTI