#either

[ follow ]
Software development
fromMedium
5 days ago

fp-ts library in Hoppscotch codebase.

Hoppscotch CLI uses fp-ts, particularly Either, to express functional error handling and leverage typed functional abstractions in TypeScript.
Software development
fromMedium
1 month ago

Return type Are Contracts. Either[E, Option[A]] Breaks Them.

Public methods must make a single clear promise; encode absence as an explicit error variant (e.g., NotFound) and return Either[E, A] rather than Either[E, Option[A]].
[ Load more ]