1 مستودع
Functions that apply transformations to the inner value of an optional container while preserving the empty state.
Distinct from Optional Value Types: Focuses on the transformation logic (mapping) rather than the general type definition.
Explore 1 awesome GitHub repository matching data & databases · Optional Value Transformations. Refine with filters or upvote what's useful.
fp-ts is a TypeScript library that brings pure functional programming patterns to the language through algebraic data types, type class abstractions, and composable combinators. It provides foundational data types like Option for optional values, Either for typed error handling, and Task for lazy asynchronous computations, all designed to make invalid states unrepresentable and side effects explicit. The library is built on category theory concepts, offering type classes such as Functor, Applicative, Monad, Semigroup, and Monoid with lawful instances for common data structures. The library di
Applies a function to the inner value of an Option, preserving the empty state.