3 ms·
The pattern as presented doesn't actually use the monad instance, just the functor instance, because there's no sequencing of actions involved here, there's jus
by tome 13y ago
The pattern as presented doesn't actually use the monad instance, just the functor instance, because there's no sequencing of actions involved here, there's just one action (update or not).