Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
cacd9825
Commit
cacd9825
authored
Jan 13, 2012
by
Simon Peyton Jones
Browse files
Update error message
parent
f6cea70a
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/typecheck/should_run/tcrun035.stderr
View file @
cacd9825
tcrun035.hs:13:12:
Couldn't match
expected type `IO
a'
with
actual type `forall (m :: * -> *). Monad m => m
a'
Expected type: (forall (m :: * -> *). Monad m => m a) -> IO a
Actual type: (forall (m :: * -> *). Monad m => m a)
-> forall (m :: * -> *). Monad m => m a
Couldn't match
type `forall (m :: * -> *). Monad m => m
a'
with
`IO
a'
Expected type: (forall (m :: * -> *). Monad m => m a) -> IO a
Actual type: (forall (m :: * -> *). Monad m => m a)
-> forall (m :: * -> *). Monad m => m a
In the second argument of `(.)', namely `id'
In the expression: id . id
In an equation for `foo': foo = id . id
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment