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
CSharpFunctionalExtensions is a functional programming library for C# that provides a framework of monadic containers, pipeline orchestration tools, and immutable domain object patterns. It implements the result pattern to handle operation success and failure as values, reducing the reliance on exceptions for control flow. The library enables railway-oriented programming by chaining multiple operations into sequences that execute only upon the success of previous steps. It provides specialized wrappers for optional and result types to minimize null checks and nested conditional logic, alongsi
language-ext is a functional programming framework for C# that provides a suite of immutable data structures and monadic types. It enables the implementation of pure functional programming patterns, utilizing containers to manage side effects, optional values, and error handling. The library is distinguished by its advanced concurrency and state management tools, including a software transactional memory system and lock-free atomic references. It also provides specialized utilities for distributed systems, such as vector clocks for causality tracking and deterministic data conflict resolution
Toolz is a Python library that implements functional programming utilities for iterable transformation, dictionary manipulation, function composition, and lazy evaluation. It provides a set of pure functions designed to work with Python's built-in data structures, enabling concise and composable data processing workflows. What distinguishes toolz is its support for curried partial application, allowing functions to be incrementally applied and reused. It includes dictionary-centric operations that handle nested structures, and offers iterable chain transformers that combine mapping, filtering
Returns es una biblioteca de programación funcional para Python que proporciona contenedores con tipos seguros para gestionar el estado, el manejo de errores y la opcionalidad. Sirve como una biblioteca de contenedores monádicos y un framework de manejo de errores con tipos seguros, reemplazando los bloques try-catch tradicionales y las comprobaciones de nulos con contenedores Result y Optional para tratar las excepciones como datos.
The main features of dry-python/returns are: Python Functional Programming Libraries, Monadic Error Handling, Monadic Containers, Type-Safe Container Wrapping, Mypy Plugins, Optional Value Types, Optional Value Extractions, Container Value Mapping.
Open-source alternatives to dry-python/returns include: gcanti/fp-ts — fp-ts is a TypeScript library that brings pure functional programming patterns to the language through algebraic data… vkhorikov/csharpfunctionalextensions — CSharpFunctionalExtensions is a functional programming library for C# that provides a framework of monadic containers,… louthy/language-ext — language-ext is a functional programming framework for C# that provides a suite of immutable data structures and… pytoolz/toolz — Toolz is a Python library that implements functional programming utilities for iterable transformation, dictionary… purescript/purescript — PureScript is a statically typed, purely functional programming language that compiles to JavaScript. It is designed… ramda/ramda — Ramda is a functional JavaScript standard library and toolset for immutable data transformation and composition. It…