A Theoria-owned validation check for a built-in inductive specification.
Summary
Functions
Checks the spec against its dependencies and verifies the installed prelude declaration.
Builds an inductive validation check.
Types
@type t() :: %Theoria.Validation.InductiveCheck{ category: atom(), dependency_env: Theoria.Env.t(), name: atom(), spec: Theoria.Inductive.Spec.t() }
Functions
@spec check(Theoria.Env.t(), t()) :: :ok | {:error, term()}
Checks the spec against its dependencies and verifies the installed prelude declaration.
@spec new(atom(), atom(), Theoria.Inductive.Spec.t(), Theoria.Env.t()) :: t()
Builds an inductive validation check.