In the first, second and third post of this series I describe a test case (a function evaluator) and a… Read more Understanding monad transformers (4): put in some creative writing
Tag: github
Understanding monad transformers (3): stateful is beautiful
In the first and second post of this series I describe a test case (a function evaluator) and a method… Read more Understanding monad transformers (3): stateful is beautiful
Understanding monad transformers (2): first thing get yourself covered
In the starting post of this series I describe a test case (a function evaluator) and a method to tackle… Read more Understanding monad transformers (2): first thing get yourself covered
Understanding monad transformers: mastery is in the details
The trouble with learning monad transformers You’ve read about a bunch of monads and that each one of them has… Read more Understanding monad transformers: mastery is in the details
State monad goes to JS town (and starts swinging…)
Gist: JavaScript is the only language I am aware of that allows to invoke a monadic function, like state is,… Read more State monad goes to JS town (and starts swinging…)
The state monad in Java 8, eventually…
This is no tutorial about the state monad and I’d be foolish if I hoped to use all these convoluted… Read more The state monad in Java 8, eventually…
Handling I/O with the state monad in JavaScript
Gist: the state monad allows to chain (i.e. to execute in sequence) a wide sort of operations, each one returning… Read more Handling I/O with the state monad in JavaScript
Chainable monads in JavaScript
Gist: the chainable monads presented here are JavaScript functions that allow idiomatic expressions such as monad1.bind(function1) ———> monad2 Since JavaScript… Read more Chainable monads in JavaScript
Functional Programming in JavaScript – playing with lists, cons, car and cdr
Gist: JavaScript allows to describe lists as functions in a very natural way. By putting in place a few short… Read more Functional Programming in JavaScript – playing with lists, cons, car and cdr