Kernel environment containing checked constants and definitions.
Summary
Types
@type t() :: %Theoria.Env{constants: %{required(atom()) => Theoria.Env.Constant.t()}}
Functions
@spec fetch(t(), atom()) :: {:ok, Theoria.Env.Constant.t()} | :error
@spec new() :: t()
@spec put_constant(t(), atom(), Theoria.Term.t()) :: t()
@spec put_definition(t(), atom(), Theoria.Term.t(), Theoria.Term.t()) :: t()