summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T10963.stderr
blob: aa081391c413a3d2e70199d6686f5106ea66070e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

<interactive>:1:1: error:
    • Ambiguous type variable ‘a0’ arising from a use of ‘foo’
      prevents the constraint ‘(Num a0)’ from being solved.
      Probable fix: use a type annotation to specify what ‘a0’ should be.
      These potential instances exist:
        instance Num Integer -- Defined in ‘GHC.Num’
        instance Num Double -- Defined in ‘GHC.Float’
        instance Num Float -- Defined in ‘GHC.Float’
        ...plus two others
        ...plus 8 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the expression: foo