Experimental/internal API for 0.2; subject to change before 0.3. Minimal descriptor for fixed parameters of compiled equation definitions.
Summary
Functions
Derives fixed parameters from a definition signature.
Returns whether an argument position is fixed.
Builds a fixed-parameter descriptor.
Types
@type t() :: %Theoria.Equation.FixedParams{positions: [non_neg_integer()]}
Functions
Derives fixed parameters from a definition signature.
@spec fixed?(t(), non_neg_integer()) :: boolean()
Returns whether an argument position is fixed.
@spec new([non_neg_integer()]) :: t()
Builds a fixed-parameter descriptor.