JavaScript Jabber cover image

Functional Programming with Ian Schwartz - JSJ 574

JavaScript Jabber

00:00

JavaScript - JavaScript Monads?

A monad is a data type that has a method on it that implements what they call the bind method. If you can implement that bind method, then your data type can be considered to be in the category of monad. So if I call the function greet, and I do let greeting equals greet invoked, the variable greeting is a monad. No, the, the greet function, I think would be the monad. The concept of binding is what makes a, a container, an object, a thing that have a function that can do a binding.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app