Skip to content

Getting started

Six short pages. Install first, then five “hello, X” programs that each isolate one moving part. By the end you have written, evaluated, and composed every moving part the library is built on.

  • Install — add DeepCausality to a Rust project.
  • Hello, Causal Flow — the high-level DSL that reads causal reasoning as a pipeline. The clearest place to start.
  • Hello, Causal Monad — the pure and bind engine the flow is built on. Walk a value through a three-step chain and look at what flowed.
  • Hello, Causaloid — build, evaluate, and compose Causaloids in the smallest possible program.
  • Hello, Context — build a Context hypergraph and let a Causaloid read from it.
  • Hello, Effect Propagation — how a Causaloid’s structural reasoning and a bind-chain compose over one shared carrier effect.

For the conceptual model behind the code, see Concepts.