Category "fp-ts"

Refactoring after deprecation of getFoldableComposition, option, array et al

I spent some time last year trying to learn fp-ts. I've finally come around to using it in a project and a lot of my sample code has broken due to the recent re

How to handle "else if" in fp-ts

A lot of times I notice I am struggling how to implement a pretty simple flow chart with multiple if-else conditions. This example looks too verbose and is not