Linear-base makes writing Linear Haskell easy and fun
tweag.io
tweag.io
Is there anything like a linear state monad? It seems like it would simplify something like Data.Array.Mutable.Linear, where you'd rather not deal explicitly with the "Array a" value returned by every function.
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.
The Data.Functor vs Control.Monad explained.