SystemOneDSL.Contract (SystemOneDSL v1.0.0)

Copy Markdown View Source

Typed representation of a compiled SystemOneDSL decision contract, wrapping the question definitions and the build-time validated %SystemOneDSL.Prepared{} struct.

Summary

Types

t()

@type t() :: %SystemOneDSL.Contract{
  name: atom(),
  prepared: SystemOneDSL.Prepared.t(),
  questions: [SystemOneDSL.Question.t()]
}