Experimental/internal API for 0.2; subject to change before 0.3. Internal recursor-derived shape metadata for matcher descriptors.
Summary
Functions
Builds recursor-derived matcher shape metadata for a schema.
Returns the recursor name used by the current equation fragment for a family.
Types
@type t() :: %Theoria.Equation.Recursor.Descriptor{ family: atom(), indexed?: boolean(), indices: [{atom(), Theoria.Term.t()}], parameters: [{atom(), Theoria.Term.t()}], recursor: Theoria.Env.Recursor.t(), rules: [Theoria.Equation.Recursor.Descriptor.Rule.t()] }
Functions
@spec from_schema(Theoria.Env.t(), Theoria.Equation.Schema.t()) :: {:ok, t()} | {:error, term()}
Builds recursor-derived matcher shape metadata for a schema.
Returns the recursor name used by the current equation fragment for a family.