diff options
Diffstat (limited to 'testsuite/tests/ado/ado005.stderr')
-rw-r--r-- | testsuite/tests/ado/ado005.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/ado/ado005.stderr b/testsuite/tests/ado/ado005.stderr index 7203392d60..4bfc79eca4 100644 --- a/testsuite/tests/ado/ado005.stderr +++ b/testsuite/tests/ado/ado005.stderr @@ -1,14 +1,14 @@ -ado005.hs:8:3: +ado005.hs:8:3: error: Could not deduce (Monad f) arising from a do statement from the context: Applicative f bound by the type signature for: - test :: Applicative f => (Int -> f Int) -> f Int - at ado005.hs:6:9-48 + test :: Applicative f => (Int -> f Int) -> f Int + at ado005.hs:6:1-48 Possible fix: add (Monad f) to the context of the type signature for: - test :: Applicative f => (Int -> f Int) -> f Int + test :: Applicative f => (Int -> f Int) -> f Int In a stmt of a 'do' block: x <- f 3 In the expression: do { x <- f 3; |