Showing posts with label state. Show all posts
Showing posts with label state. Show all posts

Sunday, September 9, 2018

Compositional zooming for StateT and ReaderT using lens

Compositional zooming for StateT and ReaderT using lens

Tuesday, 04 September 2018, by . Filed under coding. Consider writing updates in a state monad where the state contains deeply nested structures.

Wednesday, April 4, 2018

For a Few Monads More

For a Few Monads More

We've seen how monads can be used to take values with contexts and apply them to functions and how using >>= or do notation allows us to focus on the values themselves while the context gets handled for us. We've met the Maybe monad and seen how it adds a context of possible failure to values.

bundlephobia

JavaScript bloat is a more real problem today than it ever was. Bundlephobia lets you understand the performance cost of adding a npm pack...