Skip to main content

Module types

Module types 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Structs§

AffineTraversal
An affine traversal (0 or 1 focus).
Apomorphism
Apomorphism: anamorphism with early termination.
ApplicativeData
Arrow
An Arrow: a generalised function from A to B with category operations.
ArrowData
BoehmBerarducci
Böhm-Berarducci (CPS) encoding of recursive types.
ChurchNumerals
Church encoding utilities for natural numbers.
Coerce
A coercion with a proof obligation (modelled as a runtime-checked cast).
ComonadExtend
ComonadExtend — utility struct for comonad extension operations.
Cont
Continuation monad: Cont r a = (a -> r) -> r.
CpsTransform
Continuation passing style transform.
DefunctClosure
Defunctionalized closure representation.
DependentTypeExample
EffectHandler
An effect handler that handles effect type E and produces B.
EffectSystem
Algebraic effect system.
FreeMonadInfo
Free monad functor encoding.
FreeMonadInterpreter
FreeMonadInterpreter runs a ConsoleProg against a provided handler.
Futumorphism
Futumorphism: anamorphism with look-ahead capability.
HMap
A type-erased type-level map (heterogeneous map keyed by strings).
Histomorphism
Histomorphism: catamorphism with access to full history.
HomotopyEquivalence
Hylomorphism
Hylomorphism: unfold an anamorphism then fold a catamorphism.
Iso
An isomorphism between types S and A.
Lens
A lawful lens focusing on field A inside structure S.
LensComposer
LensComposer provides utilities for composing lenses and verifying laws.
Paramorphism
Paramorphism: catamorphism with access to original sub-trees.
Prism
A prism focusing on one variant of a sum type.
ProfunctorData
ProfunctorOptic
A profunctor-encoded optic, represented as a Rust trait object.
ReaderMonad
Reader monad: Reader r a = r -> a.
RecursionSchemeEval
RecursionSchemeEval provides catamorphism and anamorphism over RoseTree.
ScottEncoding
Scott encoding of algebraic data types.
Singleton
A singleton: a value that is uniquely determined by its type.
StateMonad
State monad: State s a = s -> (a, s).
TraversableData
Traversal
A traversal focusing on zero or more As inside S.
TypeConstructorFunctor
Category theory view: functors as type constructors.
TypeEquality
Type equality evidence: proof that S and T are the same type.
WriterMonad
Writer monad: Writer w a = (a, w) with Monoid w.
YonedaEmbedding
Yoneda lemma embedding: Hom(A, -) ≅ F where F is a functor.
Zipper
A zipper over a non-empty vector: models a focused list comonad.

Enums§

ConsoleEffect
A simple algebraic effect for the interpreter.
ConsoleProg
A free monad over ConsoleEffect for console programs.
Effect
A simple algebraic effect: a computation that may perform an effect.
FreeApplicative
Free applicative functor (simplified representation).
FreeMonad
A free monad over a functor F, with values in A.
HList
A heterogeneous list (type-erased at runtime; type safety tracked by the user).
RoseTree
Evaluator for generic recursion schemes over rose trees.