Demand signature grammar

Ben Gamari ben at well-typed.com
Fri Apr 24 01:42:19 UTC 2020


Hello everyone,

I routinely find myself having to dig through the Outputable instances
in Demand.Types to decipher our joint demand signature syntax. Tonight I
finally broke down and extracted a BNF-like grammar summarizing the
syntax. It can be found on the Wiki [1]. I hope it is helpful for others
as well.

Cheers,

- Ben


[1] https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/demand
-------------- 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/20200423/6d378132/attachment.sig>


More information about the ghc-devs mailing list