[DDDDD-20] « it’s traverse »


The `traverse` function is so pervasive in functional programming that it became a joke: — How do I do— It's traverse https://twitter.com/search?q=%22it%27s%20traverse%22&src=typed_query

Since it's a bit abstract until you actually encounter it, let's dig a little and review some case where… well, it was _actually_ `traverse`. – async calls – input validation – conditional execution – parsers generation – …

In addition to making an elated crowd shout 'it's traverse', it will be a good occasion to learn more about what's an applicative functor and how it can be used.

Examples will mostly be haskell, but we'll start with JS to ease into it more easily (someone once said that 67% of the NPM ecosystem could be replaced with `traverse`).


Follow us

Read our latest news from Virtual DDD on any of these social networks!

Recent videos

Systems Thinking Intro with Lorraine Steyn

Systems thinking is the macro behaviour that we must understand in analyzing our world. A system always produces what it is designed to do, even if that isn't at all what we meant it to do! Systems are self-maintaining, and contain balancing and/or reinforcing...