Re:Functor, Applicative, and Monad
by TheAsprngHacker on Wednesday September 18, 2019 @01:39AM
(#21002628)
To my understanding, although the behaviors of filterM, etc. differ depending on the monad instance, as long as the monad instances follow the laws, those functions like filterM have predictable behavior. It's a consequence of "theorems for free" / parametricity.
[ Parent
| on HN ]
There are no comments on this comment yet.