Collecting multiple errors in fp-ts
2022-07-0214 minutes readfp-ts, TypeScript
The fp-ts library puts errors to the forefront and helps write type-safe code that correctly reports errors. Collecting errors from multiple operations can sometimes lead to boilerplate code. Let's see if there is a way to make that code shorter.