blob: 9945d288f4c049b7877e47eafcdbae7fc7e5d101 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
holes2.hs:5:5: Warning:
No instance for (Show a0) arising from a use of `show'
The type variable `a0' is ambiguous
Note: there are several potential instances:
instance Show Double -- Defined in `GHC.Float'
instance Show Float -- Defined in `GHC.Float'
instance (Integral a, Show a) => Show (GHC.Real.Ratio a)
-- Defined in `GHC.Real'
...plus 23 others
In the expression: show _
In an equation for `f': f = show _
holes2.hs:5:10: Warning:
Found hole `_' with type: a0
Where: `a0' is an ambiguous type variable
In the first argument of `show', namely `_'
In the expression: show _
In an equation for `f': f = show _
|