Ordered patterns and a restricted guard language for supplied mailbox models.
Patterns: :any, :pid, {:literal, reified_term} and recursive
:tuple2, :tuple3, :tuple5, :cons patterns. Guards: true, false,
{:is_integer, path}, {:integer_le | :integer_ge, path, bound}.
Paths use zero-based tuple fields or cons head/tail. No callbacks, arbitrary
guards or native receive optimizations are assumed. Attempts count clauses,
not machine instructions; the complete finite matching program is retained.
Summary
Types
Functions
@spec choose([clause()], ReductionBounds.RpcTerm.t()) :: {non_neg_integer() | nil, non_neg_integer(), non_neg_integer()}
@spec evaluate_guard(term(), ReductionBounds.RpcTerm.t()) :: boolean()
@spec matches?(term(), ReductionBounds.RpcTerm.t()) :: boolean()