
Understanding Monads in TypeScript: A Practical Guide
Monads in TypeScript are simpler than you think. You already use them — Promise and Array are monads. Learn the pattern, then apply it with Maybe, Either, Task, and TaskEither from @oofp/core.
Tag archive

Monads in TypeScript are simpler than you think. You already use them — Promise and Array are monads. Learn the pattern, then apply it with Maybe, Either, Task, and TaskEither from @oofp/core.
Monads in TypeScript are simpler than you think. You already use them — Promise and Array are monads. Learn the pattern, then apply it with Maybe, Either, Task, and TaskEither from @oofp/core.
Many developers react to terms like monads and category theory the same way they react to regular...
The Problem Consider fetching a user, then their profile, then their avatar URL. In...
In my previous blog post, I explained why I rely so heavily on the Builder pattern. It facilitates...
Why I use (and abuse) the Builder pattern Guillaume Faas...
When presenting my talk about Monads, one question kept coming up: "Why do you rely so much on the...

Here's a quick bite for those using result monads provided by dry-monads to code workflows and test...
Hello friends, Our previous post, "The Monad Invasion - Part 2: Monads in action!", introduced a set...

What is Do Notation? Do notation is a syntactic sugar primarily used in functional...
A piece of information often results from linked operations where any of them can potentially return...

Hey there, During a presentation, two things can potentially make developers run away. The first is...