
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

Great thanks! There is also
https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/strictness-an...
and a couple of sub-pages, as you'll see in the index.
It'd be good if they were somehow connected together?
Simon
| -----Original Message-----
| From: ghc-devs
participants (2)
-
Ben Gamari
-
Simon Peyton Jones