Prettyprinting GHC.Stg.Syntax.StgOp

Norman Ramsey nr at cs.tufts.edu
Fri Oct 1 20:00:18 UTC 2021


Type StgOp and its constructors are exported from module
GHC.Stg.Syntax.  But the prettyprinting function pprStgOp is not
exported.  I'm thinking of exporting the function and also
of defining an instance of Outputable.  Is there any reason not to?

If this sounds OK to people, I'll make a PR.


Norman


More information about the ghc-devs mailing list