You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, giving the type signature manually does cause the holes to get reported:
f:: (Monadm) =>mb
f = _?h >>= _?g
test.hs:2:5: Warning:
Found hole _?h with type m a0
In the first argument of `(>>=)', namely `_?h'
In the expression: _?h >>= _?g
In an equation for `f': f = _?h >>= _?g
test.hs:2:13: Warning:
Found hole _?g with type a0 -> m b
In the second argument of `(>>=)', namely `_?g'
In the expression: _?h >>= _?g
In an equation for `f': f = _?h >>= _?g
Ok, modules loaded: Main.
Opening the following module with
-XNoMonomorphismRestriction
:Causes the holes to not be reported.
One of the differences in the log:
-XNoMonomorphismRestriction
on:Off:
The text was updated successfully, but these errors were encountered: