Theoria.Equation.Schema.Builder (theoria v0.6.0)

Copy Markdown View Source

Experimental/internal API for 0.2; subject to change before 0.3. Internal builder for equation schemas and matcher metadata from signatures and case templates.

Summary

Functions

Builds and validates a schema from a signature and schematic case templates.

Builds matcher metadata from a validated signature schema.

Derives simple overlap metadata from duplicate equation alternatives.

Functions

build(signature, templates)

Builds and validates a schema from a signature and schematic case templates.

matcher(signature, schema)

Builds matcher metadata from a validated signature schema.

overlaps(schema)

@spec overlaps(Theoria.Equation.Schema.t()) :: %{
  optional(non_neg_integer()) => [non_neg_integer()]
}

Derives simple overlap metadata from duplicate equation alternatives.