Adventures in Angular cover image

Functional Programming in TypeScript - AiA 371

Adventures in Angular

00:00

Handling Success and Failure with 'Either' and 'Option'

This chapter explores the concept of an 'either' in functional programming and its use in handling success and failure values. The hosts explain the difference between a left and a right, and how the 'either' data structure can be converted to an 'option' using utilities from FPTS, and vice versa.

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