blob: 410ce3daac80d1b06a09ba418cd7e2fde1173d30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
tcfail113.hs:12:7: error:
• Expecting one more argument to ‘Maybe’
Expected a type, but ‘Maybe’ has kind ‘* -> *’
• In the type signature:
f :: [Maybe]
tcfail113.hs:15:8: error:
• Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’
• In the first argument of ‘T’, namely ‘Int’
In the type signature:
g :: T Int
tcfail113.hs:18:6: error:
• Expecting one fewer arguments to ‘Int’
Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’
• In the type signature:
h :: Int Int
|