Nock (Anoma v0.29.0)
Nock, a universal function on nouns.
Summary
Functions
Gives the total numbers of layers in the standard library
Types
@type t() :: %Nock{ gas_limit: non_neg_integer() | nil, meter_pid: pid() | nil, scry_function: (term() -> {:ok, term()} | :error), stdio: any() }
I contain environmental information on how Nock shall be evaluated.
For example Ι contain information on jettedness to determine if we should be using jets or not
Functions
Link to this function
cons(a, b)
Link to this function
decrement_arm()
@spec decrement_arm() :: Noun.t()
Link to this function
decrement_core()
@spec decrement_core() :: Noun.t()
Link to this function
gas_limit(limit, pid, gas)
Link to this function
gas_meter()
@spec gas_meter() :: non_neg_integer()
Link to this function
gas_meter(gas)
@spec gas_meter(non_neg_integer()) :: non_neg_integer()
Link to this function
get_jet(battery_mug)
@spec get_jet(Noun.t()) :: {:ok, {String.t(), non_neg_integer(), non_neg_integer(), (Noun.t() -> :error | {:ok, Noun.t()}), atom(), non_neg_integer()}} | :error
Link to this function
logics_core()
@spec logics_core() :: Noun.t()
Link to this function
metered_nock(subject, formula)
@spec metered_nock(Noun.t(), Noun.t()) :: {:ok, Noun.t(), non_neg_integer()} | {:error, non_neg_integer()}
Link to this function
metered_nock(subject, formula, environment)
@spec metered_nock(Noun.t(), Noun.t(), t()) :: {:ok, Noun.t(), non_neg_integer()} | {:error, non_neg_integer()}
Link to this function
naive_nock(subject, formula)
Link to this function
naive_nock(subject, formula, environment)
Link to this function
nock(subject, formula)
Link to this function
nock(subject, formula, env)
Link to this function
nock_0(axis)
Link to this function
nock_1(constant)
Link to this function
nock_2(subject_formula, formula_formula)
Link to this function
nock_3(sub_formula)
Link to this function
nock_4(sub_formula)
Link to this function
nock_5(formula_1, formula_2)
Link to this function
nock_6(cond, true_branch, false_branch)
Link to this function
nock_7(subject_formula, sub_formula)
Link to this function
nock_8(push_formula, sub_formula)
Link to this function
nock_9(axis, sub_formula)
Link to this function
nock_10(axis, replacement_formula, sub_formula)
Link to this function
nock_11(hint_noun, sub_formula)
Link to this function
nock_11(hint_noun, hint_formula, sub_formula)
Link to this function
process_hint(_)
Link to this function
process_hint(puts, hint_result, environment)
Link to this function
put_jet(battery_mug, jet_info)
Link to this function
read_with_id(id_key_list, env)
Link to this function
rm_core()
@spec rm_core() :: Noun.t()
Link to this function
scry_forbidden(_)
Link to this function
stdlib_core()
@spec stdlib_core() :: Noun.t()
Link to this function
stdlib_layers()
@spec stdlib_layers() :: non_neg_integer()
Gives the total numbers of layers in the standard library