Commit cacd9825 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Update error message

parent f6cea70a
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment