blob: c242ccf54ae591ef15bebee88ea8ff4b0605314c (
plain)
1
2
3
4
5
6
7
8
9
10
|
tcfail182.hs:9:3:
Couldn't match expected type ‘Prelude.Maybe a’
with actual type ‘Maybe t0’
NB: ‘Prelude.Maybe’ is defined in ‘Data.Maybe’ in package ‘base’
‘Maybe’ is defined at tcfail182.hs:6:1-18
Relevant bindings include
f :: Prelude.Maybe a -> Int (bound at tcfail182.hs:9:1)
In the pattern: Foo
In an equation for ‘f’: f Foo = 3
|