1 repository
Wrapping functions that require external dependencies in containers to allow composition across pure and impure logic.
Distinct from Function Composition: Unlike standard function composition, this manages external execution contexts and dependencies within the pipeline.
Explore 1 awesome GitHub repository matching software engineering & architecture · Contextual Function Composition. Refine with filters or upvote what's useful.
Returns is a functional programming library for Python that provides type-safe containers for managing state, error handling, and optionality. It serves as a monadic container library and a type-safe error handling framework, replacing traditional try-catch blocks and null checks with Result and Optional containers to treat exceptions as data. The project is distinguished by its use of a specialized Mypy static analysis plugin to validate functional pipelines and emulate higher kinded types. It provides mechanisms for isolating side effects through IO containers and offers a framework for typ
Chains together pure, impure, or asynchronous functions that depend on external environments while maintaining type safety.