Missing lambdas in Monad laws documentation
Summary
In the documentation specifying the Monad
laws in GHC.Base
, the lambdas used
in the law for m1 <*> m2
seem to be correctly escaped in the source:
but once the documentation is rendered they have disappeared:
m1 <*> m2 = m1 >>= (x1 -> m2 >>= (x2 -> return (x1 x2)))
-- ^ ^
as seen on hackage: https://hackage.haskell.org/package/base-4.15.0.0/docs/Prelude.html#t:Monad