blob: e8b14d1f8ae78323a151362012c0fe965cbee7f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
annfail08.hs:9:1:
No instance for (Data.Data.Data (a0 -> a0))
arising from an annotation
Possible fix:
add an instance declaration for (Data.Data.Data (a0 -> a0))
In the expression: (id + 1)
In the annotation: {-# ANN f (id + 1) #-}
annfail08.hs:9:17:
No instance for (Num (a0 -> a0))
arising from the literal `1'
Possible fix: add an instance declaration for (Num (a0 -> a0))
In the second argument of `(+)', namely `1'
In the expression: (id + 1)
In the annotation: {-# ANN f (id + 1) #-}
|