3 ms·
> Is there anything like a linear state monad? Yes! Tweag has a blog post[0] on how there are two different kinds of Functor, linear and non-linear, and in tur
by siraben 6y ago
> Is there anything like a linear state monad?
Yes! Tweag has a blog post[0] on how there are two different kinds of Functor, linear and non-linear, and in turn, variants of Applicative and Monad.
[0] https://www.tweag.io/blog/2020-01-16-data-vs-control/ https://www.tweag.io/blog/2020-01-16-data-vs-control/
- nine_k 6y agoNice! The Data.Functor vs Control.Monad explained.