summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print019.stderr
blob: 5815080f6a3f960de522982f7c02dec148d54135 (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 Ordering -- Defined in ‘GHC.Show’
        instance Show TyCon -- Defined in ‘GHC.Show’
        instance Show Integer -- Defined in ‘GHC.Show’
        ...plus 29 others
        ...plus 19 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In a stmt of an interactive GHCi command: print it