id_effect 0.6.0

Effect<A, E, R> (sync + async), capability DI, pipe — interpreter-style, no bundled executor
Documentation
//! **Stratum 0: Foundations** — the small set of pure helpers the core runtime is built on.
//!
//! The categorical constructs core does not use (`Unit`, `Never`, `Iso`, products, coproducts,
//! `function`, `option_`) live in the maintenance-tier `id_effect_fp` crate
//! (`id_effect_fp::foundation`).
//!
//! | Module | Construct |
//! |--------|-----------|
//! | [`either`] | `Either<R,L>` alias + Effect.ts-named combinators |
//! | [`func`] | `identity`, `compose`, `memoize`, `tupled` (full set) |
//! | [`piping`] | [`Pipe`] trait (`x.pipe(f)`) |
//! | [`predicate`] | [`Predicate<A>`] composable boolean functions |
//! | [`mutable_ref`] | [`MutableRef<A>`] synchronous interior-mutable cell |
//!
//! ## Laws
//!
//! - **Identity**: `compose(f, identity) ≡ f ≡ compose(identity, f)`
//! - **Associativity**: `compose(f, compose(g, h)) ≡ compose(compose(f, g), h)`

pub mod either;
pub mod func;
pub mod mutable_ref;
pub mod piping;
pub mod predicate;

pub use either::Either;
pub use either::either::{left, right};
pub use func::{always, compose, const_, flip, identity, pipe1, pipe2, pipe3};
pub use mutable_ref::MutableRef;
pub use piping::Pipe;
pub use predicate::Predicate;