Unwrap Values from a Maybe

Share this video with your friends

Send Tweet

Applying functions to values within the context of a Maybe means we can perform our transformations with more confidence. At some point, we’ll need to extract our value to use it in places where our code expects a raw value. In this lesson, we’ll see how to get the value back out of a Maybe.

Tre' Codez
Tre' Codez
~ 7 years ago

I love to code this way! Glad to see others are out there.
Moreover, its even better to hear about Crocks, as I've been leaning towards Sanctuary.js.

Briisk Sp. z o.o.
Briisk Sp. z o.o.
~ 7 years ago

I love to code this way! Glad to see others are out there.
Moreover, its even better to hear about Crocks, as I've been leaning towards Sanctuary.js.

There's another course on Crocks that was published about 5 months ago icym: https://egghead.io/courses/state-monad-in-javascript

:-)

Andy Van Slaars
Andy Van Slaars(instructor)
~ 7 years ago

That State Monad course is from the author of Crocks, definitely check that one out too!