Showing type synonym isn't exported by Hoopl
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:
diff --git a/src/Compiler/Hoopl/Show.hs b/src/Compiler/Hoopl/Show.hs index 8a8b35f..66172b0 100644 --- a/src/Compiler/Hoopl/Show.hs +++ b/src/Compiler/Hoopl/Show.hs @@ -4,7 +4,7 @@ #endif module Compiler.Hoopl.Show - ( showGraph, showFactBase + ( showGraph, showFactBase, Showing ) where