Prettyprinting GHC.Stg.Syntax.StgOp
Ben Gamari
ben at smart-cactus.org
Sat Oct 2 15:23:23 UTC 2021
Norman Ramsey <nr at cs.tufts.edu> writes:
> 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.
>
An Outputable instance seems quite reasonable to me. Exporting pprStgOp
seems less necessary but I wouldn't object.
Cheers,
- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20211002/adb46d51/attachment.sig>
More information about the ghc-devs
mailing list