blob: e60aaf8c39983b3e2ae36087025664b10d0d33e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
T7368a.hs:8:6: error: [GHC-18872]
• Couldn't match kind ‘* -> *’ with ‘*’
When matching types
w0 :: * -> *
Bad f :: *
Expected: f (Bad f)
Actual: Bad w0
• In the pattern: Bad x
In an equation for ‘fun’: fun (Bad x) = True
• Relevant bindings include
fun :: f (Bad f) -> Bool (bound at T7368a.hs:8:1)
|