Export 'Showing' from Hoopl.Show
authorThomas Miedema <thomasmiedema@gmail.com>
Sat, 8 Aug 2015 11:41:54 +0000 (13:41 +0200)
committerThomas Miedema <thomasmiedema@gmail.com>
Sat, 8 Aug 2015 11:41:54 +0000 (13:41 +0200)
commit8cae627dfd17e90c0caaa7c242970176ff8cdb95
tree1d50122b0f717e437520a01c20945db32cae512a
parent4dccb47429c9bb7a41cb735e572d27182061e87e
Export 'Showing' from Hoopl.Show

GHC Trac user nimnul reports in
https://ghc.haskell.org/trac/ghc/ticket/10540:

  Hoopl exports

    showGraph :: Showing n -> Graph n e x -> String

  But it doesn't export Showing. This doesn't make sense, as it's a
  user-supplied function. So to know what I should pass to showGraph I can only
  look at the source. :i Showing doesn't work.

  Below is a patch to export the innocent type synonym:
src/Compiler/Hoopl/Show.hs