Documentation
Learn how to use corophage to write clean, testable, and composable Rust code with algebraic effect handlers.
Getting Started
Install corophage and run your first effectful program.
Effects
Define effects — the building blocks of your effectful programs.
Programs
Build programs with the Program API for incremental handler attachment.
Handlers
Write sync and async handlers that implement your effects.
Shared State
Share mutable state across handlers with run_stateful.
Advanced Usage
Borrowed data, borrowed resume types, and other advanced patterns.
Performance
Benchmarks and performance characteristics.