Workspace Overview

Karpal consists of 18 crates organized by domain:

CratePurpose
karpal-coreHKT encoding, Functor→Monad, Comonads, Adjunctions, ends/coends
karpal-profunctorProfunctor, Strong, Choice, FnP
karpal-opticsIso, Lens, Prism, Traversal, Fold, Getter, Setter, Review
karpal-arrowCategory/Arrow hierarchy, FnA, KleisliF, CokleisliF
karpal-freeCoyoneda, Free, Cofree, Freer, Day, Kan extensions
karpal-recursionFix, cata, ana, hylo, para, apo, histo, futu, zygo, chrono
karpal-algebraGroup, Semiring, Ring, Field, Lattice, HeytingAlgebra, Module, VectorSpace
karpal-effectExceptT, WriterT, ReaderT, StateT, MonadTrans
karpal-proofProven<P,T>, Rewrite, refinement types
karpal-proof-derive#[derive(VerifySemigroup)] etc.
karpal-verifyObligation IR, SMT/Lean 4/Kani, GPU obligations, trust boundary
karpal-verify-derive#[export_obligations] macro
karpal-diagramMonoidal categories, string diagrams, coherence witnesses
karpal-schubert-typesSchubert intersection types, SchubertProven, LR enrichment
karpal-higher2-categories, enriched categories, bicategories, FFunctor, FMonad
karpal-indexAI-agent library discovery CLI
karpal-stdPrelude re-exports

See the HTML reference docs for detailed API documentation.