A generated closed term paired with its expected type for assurance tests.
Summary
Types
@type name() :: atom() | {atom(), non_neg_integer()}
@type t() :: %Theoria.Kernel.GeneratedTerm{ env: Theoria.Env.t(), name: name() | nil, term: Theoria.Term.t(), type: Theoria.Term.t() }
Functions
@spec new(Theoria.Env.t(), Theoria.Term.t(), Theoria.Term.t(), name() | nil) :: t()