Re: GHC.StgToCmm.Monad documentation out of sync?

2021-10-18 Thread Ben Gamari
Norman Ramsey writes: > All, > > I'm looking at the paragraph starting on line 271 of GHC.StgToCmm.Monad, > which purports to explain ReturnKind. But the labels mentioned in the > paragraph don't seem to match the preceding code example. Also, I don't > understand why only one branch of the `ca

GHC.StgToCmm.Monad documentation out of sync?

2021-10-18 Thread Norman Ramsey
All, I'm looking at the paragraph starting on line 271 of GHC.StgToCmm.Monad, which purports to explain ReturnKind. But the labels mentioned in the paragraph don't seem to match the preceding code example. Also, I don't understand why only one branch of the `case` expression seems to be protecte