summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/break006.stderr
blob: 9098cc9c65c03bfb83bee0f8bb732a329dd572bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

<interactive>:4:1: error:
    • No instance for (Show a2) arising from a use of ‘print’
      Cannot resolve unknown runtime type ‘a2’
      Use :print or :force to determine these types
      Relevant bindings include it :: a2 (bound at <interactive>:4:1)
      These potential instances exist:
        instance (Show a, Show b) => Show (Either a b)
          -- Defined in ‘Data.Either’
        instance Show Ordering -- Defined in ‘GHC.Show’
        instance Show Integer -- Defined in ‘GHC.Show’
        ...plus 23 others
        ...plus 19 instance involving out-of-scope typess
        (use -fprint-potential-instances to see them all)
    • In a stmt of an interactive GHCi command: print it

<interactive>:6:1: error:
    • No instance for (Show a2) arising from a use of ‘print’
      Cannot resolve unknown runtime type ‘a2’
      Use :print or :force to determine these types
      Relevant bindings include it :: a2 (bound at <interactive>:6:1)
      These potential instances exist:
        instance (Show a, Show b) => Show (Either a b)
          -- Defined in ‘Data.Either’
        instance Show Ordering -- Defined in ‘GHC.Show’
        instance Show Integer -- Defined in ‘GHC.Show’
        ...plus 23 others
        ...plus 19 instance involving out-of-scope typess
        (use -fprint-potential-instances to see them all)
    • In a stmt of an interactive GHCi command: print it