Back to Browse

fp-ts Tutorial | Chapter 2.3: Option error handling

4.8K views
Apr 10, 2023
7:00

In Chapter 2.3 of this fp-ts tutorial (functional programming in TypeScript), we will see a concrete example of how to do error handling with Option. More specifically, we will introduce the Option alt util, which allows us to perform an alternative computation in case the previous computations failed. 00:00 Introduction 01:01 getMovieHighlight implementation 02:28 Option alt definition 02:39 Implementation continued 03:10 Step by step walk-through 06:20 Option altW

Download

1 formats

Video Formats

360pmp48.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

fp-ts Tutorial | Chapter 2.3: Option error handling | NatokHD