haskell / hoopl

Higher-order optimization library
http://hackage.haskell.org/package/hoopl
Other
73 stars 27 forks source link

Export 'Showing' from Hoopl.Show #13

Closed thomie closed 9 years ago

thomie commented 9 years ago

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: