There are many cases where we could be using Options or Eithers to better handle the case where a data type is not present, or where a service would return an error. We can begin using fp-ts and migrate our code to use these constructs for better organization.
There are many cases where we could be using Options or Eithers to better handle the case where a data type is not present, or where a service would return an error. We can begin using
fp-ts
and migrate our code to use these constructs for better organization.