Monads in JavaScript: I Promise you’ll have a good time by Max Nordlund

February 25, 2021

Monads are a powerful abstraction, yet can be daunting to get into at first. In this presentation I’ll introduce the concept of monads through JavaScripts Promises. I’ll also show how you can find monads in other, unexpected, places and how the ever popular `do`-notation works under the hood.

Max Nordlund
I work at Kivra, where the main language is Erlang, and main database is Riak. But before that I’ve worked professionally with JavaScripts for quite a few years. I introduces Promises at my first gig 2013, and haven’t looked back since. They are a lovely abstraction, and later I found out that they are in fact monads. Outside programming I’m a scout leader for youngsters 15-18. Working with kids, and young adults, really teaches you new perspective and to not take things for granted.

Check out more from the MeetUp Func Prog Sweden. Func Prog Sweden is the community for anyone interested in functional programming. At the MeetUps the community explore different functional languages like Erlang, Elixir, Haskell, Scala, Clojure, OCaml, F# and more.