Skip to content

Commit 5b3aeb9

Browse files
committed
hie-compat: Add more backwards compatability
1 parent a6a1367 commit 5b3aeb9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
+8-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
module Compat.HieDebug
2-
( module GHC.Iface.Ext.Debug ) where
2+
( module GHC.Iface.Ext.Debug
3+
, ppHie ) where
34
import GHC.Iface.Ext.Debug
5+
6+
import GHC.Iface.Ext.Types (HieAST)
7+
import GHC.Utils.Outputable (Outputable(ppr), SDoc)
8+
9+
ppHie :: Outputable a => HieAST a -> SDoc
10+
ppHie = ppr

0 commit comments

Comments
 (0)