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

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