Showing type synonym isn't exported by Hoopl
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:
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
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/hoopl |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |