summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail171.stderr
blob: e5e90903bb3f28c851280f6ec19e5c413adcda30 (plain)
1
2
3
4
5
6
7
8
9

tcfail171.hs:9:10: error:
    • No instance for (PrintfArg a) arising from a use of ‘printf’
      Possible fix:
        add (PrintfArg a) to the context of
          the type signature for:
            phex :: forall a b. a -> b
    • In the expression: printf "0x%x" x
      In an equation for ‘phex’: phex x = printf "0x%x" x