API Reference skuld v#0.1.13
View SourceModules
Run a computation in a separate process, bridging yields, throws, and results back to the calling process via messages.
Skuld.Comp: Evidence-passing algebraic effects with scoped handlers.
Base operations automatically imported into comp blocks.
The comp macro for monadic do-notation style effect composition.
Utilities for converting Elixir exceptions to Throw effects.
Macro for defining serializable operation structs.
Environment construction and manipulation.
Behaviour for effect handlers in Skuld.
Protocol for handling sentinel values in run/run! and generic sentinel inspection.
Raised when a non-computation value is used where a computation is expected.
Represents a pattern match failure in a comp block.
Utilities for converting structs to/from JSON-friendly maps.
Sentinel that bypasses leave-scope chain.
Error result that Catch recognizes
Type definitions for Skuld.Comp.
Represents a state change with old and new values.
Async effect - structured concurrency with async/await semantics.
Opaque handle for an async computation.
AtomicState effect - thread-safe state for concurrent contexts.
Bracket effect for safe resource acquisition and cleanup.
Generic wrapper for changeset persistence operations.
Effect for persisting Ecto changesets to the database.
Ecto Repo handler for ChangesetPersist effect.
Test handler for ChangesetPersist effect that records calls and returns stubbed results.
Effect for dispatching commands through a unified pipeline.
Effect for database transactions with automatic commit/rollback semantics.
Ecto-based transaction handler for the DBTransaction effect.
No-op transaction handler for the DBTransaction effect.
Effect logging for replay, resume, and rerun capabilities.
A flat log entry for an effect invocation.
A serializable snapshot of env.state for cold resume.
A flat log of effect invocations.
Operation struct for loop iteration marks.
Effect for accumulating events during computation.
Protocol for tagging events for grouping.
Fresh effect - generate fresh/unique UUIDs.
FxFasterList - High-performance effectful list operations.
FxList - Effectful list operations with full control effect support.
Shared utilities for effects that use Task.Supervisor for concurrency.
Parallel effect - simple fork-join concurrency with built-in boundaries.
Backend-agnostic data query effect.
Random effect - generate random values.
Reader effect - access an immutable environment value.
State effect - mutable state threaded through computation.
Throw/Catch effects - error handling with scoped catching.
Writer effect - accumulate a log during computation.
Yield effect - coroutine-style suspension and resumption.
Unified syntax module providing do-notation macros for Skuld computations.