Universe levels.
Summary
Types
@type t() :: Theoria.Level.Zero.t() | Theoria.Level.Succ.t() | Theoria.Level.Max.t() | Theoria.Level.Param.t()
Functions
@spec cast!(non_neg_integer() | t()) :: t()
@spec from_integer(non_neg_integer()) :: t()
@spec param(atom()) :: Theoria.Level.Param.t()
@spec succ(t()) :: Theoria.Level.Succ.t()
@spec to_integer(t()) :: {:ok, non_neg_integer()} | :error
@spec zero() :: Theoria.Level.Zero.t()