Examples.ENock (Anoma v0.35.0)
Summary
Functions
The bex arm for taking bex:anoma from the resource-machine core environment.
The gate representing a by core creation with a specified set.
I represent the cmp gate call as a 2-argument gate.
Nock program for copying value from "a" to "b". Used in EShardBackend tests.
The counter arm.
Nock program that reserves write on 'a', then crashes. Used in EShardBackend tests.
A cue arm for taking cue:anoma out of the resource-machine core environment.
The decrement arm in the tests core.
I represent the dif gate call as a 2-argument gate.
I represent a dif gate with a specified instantiated in core given as an extra argument.
I represent the dor gate call.
I am the full dor gate with specified sample and resource-machine context.
I represent the dul gate call as a 2-argument gate.
I represent a duni gate with a specified instantiated in core given as an extra argument.
I am the battery of the fib:tests gate of the anoma stadard library.
I represent the fra gate call as a 2-argument gate.
I represent the gor gate call.
I am the full gor gate with specified sample and resource-machine context.
I represent a got gate with a specified instantiated in core given as an extra argument.
I represent a has gate with a specified instantiated in core given as an extra argument.
The gate representing an in core creation with a specified set.
I represent an int gate with a specified instantiated in core given as an extra argument.
A cue arm for taking jam:anoma out of the resource-machine core environment.
I evaluate lsh at block size 0 and gate-input [2 6].
I evaluate lsh at block size 1 and gate-input [2 6].
I evaluate lsh at block size 1 and gate-input [2 6].
I am an lash arm in the block door.
I represent the lte gate call as a 2-argument gate.
The mat arm for taking mat:anoma from the resource-machine core environment.
I evaluate met at block size 0 and gate-input 28.
I evaluate met at block size 1 and gate-input 28.
I evaluate met at block size 2 and gate-input 28.
I am an lash arm in the block door.
The mix arm for taking mix:anoma from the resource-machine core environment.
I represent the mor gate call.
I am the full mor gate with specified sample and resource-machine context.
I represent a put gate with a specified instantiated in core given as an extra argument.
I represent the mug gate call.
I am the full mug gate with specified sample and resource-machine context.
I represent the new gate call as a 2-argument gate.
The gate representing an og core creation with a specified seed.
I represent the old gate call as a 2-argument gate.
I represent the pro gate call as a 2-argument gate.
I represent a put gate with a specified instantiated in core given as an extra argument.
I represent the rad gate call as a 2-argument gate.
I am function calling the rad gate of the og door with specified seed and range
I represent the rads gate call as a 2-argument gate.
I am function calling the rads gate of the og door with specified seed and range
I represent the raw gate call as a 2-argument gate.
I am function calling the raw gate of the og door with specified seed and bitwidth.
I represent the raws gate call as a 2-argument gate.
I am function calling the raws gate of the og door with specified seed and bitwidth.
I represent a raws gate with a specified instantiated og core given as an extra argument.
Nock program for reading "a", "b", adding, and writing sum to "c". Used in EShardBackend tests.
I represent the rem gate call as a 2-argument gate.
I evaluate rsh at block size 0 and gate-input [2 40].
I evaluate rsh at block size 1 and gate-input [2 40].
I evaluate rsh at block size 2 and gate-input [2 40].
I am an lash arm in the block door.
I represent the run gate with a specified instantiated in core given as an extra argument.
The shax arm for taking shax:anoma from the resource-machine core environment.
The sign arm for taking sign:anoma from the resource-machine core environment.
The sign-detatched arm for taking sign-detached:anoma from the resource-machine core environment.
I represent the mor gate call.
I represent a split gate call given an og core with seed.
I represent the sum gate call as a 2-argument gate.
I represent a tap:by call with a specified instantiated in core given as an extra argument.
I represent a tap:in call with a specified instantiated in core given as an extra argument.
I test a Nock program for writing 3 to "a".
I test a Nock program for the sequence (read a, read b, add a and b, write result to c).
I evaluate uend at block size 0 and gate-input [5 80].
I evaluate uend at block size 1 and gate-input [3 80] and [4 80].
I am an lash arm in the block door.
I represent a uni gate with a specified instantiated in core given as an extra argument.
The verify arm for taking verify:anoma from the resource-machine core environment.
The verify-detatched arm for taking verify-detached:anoma from the resource-machine core environment.
I represent a wyt gate with a specified instantiated in core given as an extra argument.
Functions
@spec a_int() :: integer()
@spec abc_list() :: Noun.t()
@spec abs() :: Noun.t()
@spec abs_arm() :: Noun.t()
@spec action_create_arm() :: Noun.t()
@spec action_create_test() :: true
@spec action_delta_arm() :: Noun.t()
@spec action_delta_test() :: true
@spec b_int() :: integer()
@spec bex() :: Noun.t()
@spec bex_arm() :: Noun.t()
The bex arm for taking bex:anoma from the resource-machine core environment.
Can be gotten by defining gate locally as:
=localbex => resource-machine |= a=@ (bex a)
and then grabbing the arm of localbex.
@spec by_arm() :: Noun.t()
The gate representing a by core creation with a specified set.
Can be gotten by defining
=l => resource-machine |= a=(set) ~(. by a)
and getting it's arm with [0 2]
@spec by_call(Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec c_int() :: integer()
@spec call_split_test() :: any()
@spec cmp() :: Noun.t()
@spec cmp_arm() :: Noun.t()
I represent the cmp gate call as a 2-argument gate.
Can be obtained by defining
=lcmp => resource-machine |= [a=@s b=@s] (cmp [a b])
and computing
.* lcmp [0 2]
@spec commitment_arm() :: Noun.t()
@spec commitment_test(pos_integer()) :: binary()
@spec copy_a_to_b() :: Noun.t()
Nock program for copying value from "a" to "b". Used in EShardBackend tests.
@spec counter_arm() :: Noun.t()
The counter arm.
Availiable through counter:logics core.
@spec counter_logic() :: Noun.t()
@spec crash_after_reserve_a() :: Noun.t()
Nock program that reserves write on 'a', then crashes. Used in EShardBackend tests.
@spec cue() :: Noun.t()
@spec cue_arm() :: Noun.t()
A cue arm for taking cue:anoma out of the resource-machine core environment.
Can be gotten by defining gate locally as
=localcue => resource-machine |= a=@ (cue a)
and then grabbing the arm of localcue.
@spec dec() :: Noun.t()
@spec dec_arm() :: Noun.t()
The decrement arm in the tests core.
Availiable through use-dec:tests core.
@spec delta_add_arm() :: Noun.t()
@spec delta_add_test() :: true
@spec delta_sub_arm() :: Noun.t()
@spec delta_sub_test() :: true
@spec dif() :: Noun.t()
@spec dif_arm() :: Noun.t()
I represent the dif gate call as a 2-argument gate.
Can be obtained by defining
=ldif => resource-machine |= [a=@ b=@] (dif [a b])
and computing
.* ldif [0 2]
@spec dif_test() :: Noun.t()
@spec dif_with_core() :: Noun.t()
I represent a dif gate with a specified instantiated in core given as an extra argument.
Can be gotten by defining locally
=l => resource-machine |= [a=_in b=(set)] (dif:a b)
and grabbing the arm with [0 2]
@spec dif_with_core_call(Noun.t(), Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec dor_arm() :: Noun.t()
I represent the dor gate call.
Can be obtained by defining
=ldor => resource-machine |= [a= b=] (dor a b)
and computing
.* ldor [0 2]
I am the full dor gate with specified sample and resource-machine context.
@spec dor_test() :: bool()
@spec dul() :: Noun.t()
@spec dul_arm() :: Noun.t()
I represent the dul gate call as a 2-argument gate.
Can be obtained by defining
=ldul => resource-machine |= [a=@s b=@] (dul [a b])
and computing
.* ldul [0 2]
@spec duni_test() :: Noun.t()
@spec duni_with_core() :: Noun.t()
I represent a duni gate with a specified instantiated in core given as an extra argument.
Can be gotten by defining locally
=l => resource-machine |= [a=_in b=(set)] (duni:a b)
and grabbing the arm with [0 2]
@spec duni_with_core_call(Noun.t(), Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec factorial() :: Noun.t()
@spec factorial_arm() :: Noun.t()
I am the battery of the fib:tests gate of the anoma stadard library.
You can dump me by calling
.* fib:tests [0 2]
@spec fra() :: Noun.t()
@spec fra_arm() :: Noun.t()
I represent the fra gate call as a 2-argument gate.
Can be obtained by defining
=lfra => resource-machine |= [a=@s b=@s] (fra [a b])
and computing
.* lfra [0 2]
@spec gor_arm() :: Noun.t()
I represent the gor gate call.
Can be obtained by defining
=lgor => resource-machine |= [a= b=] (gor a b)
and computing
.* lgor [0 2]
I am the full gor gate with specified sample and resource-machine context.
@spec gor_test() :: bool()
@spec got_test() :: Noun.t()
@spec got_with_core() :: Noun.t()
I represent a got gate with a specified instantiated in core given as an extra argument.
Can be gotten by defining locally
=l => resource-machine |= [a=_by b=*] (got:a b)
and grabbing the arm with [0 2]
@spec got_with_core_call(Noun.t(), Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec has_test() :: Noun.t()
@spec has_with_core() :: Noun.t()
I represent a has gate with a specified instantiated in core given as an extra argument.
Can be gotten by defining locally
=l => resource-machine |= [a=_in b=(set)] (has:a b)
and grabbing the arm with [0 2]
@spec has_with_core_call(Noun.t(), Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec in_arm() :: Noun.t()
The gate representing an in core creation with a specified set.
Can be gotten by defining
=l => resource-machine |= a=(set) ~(. in a)
and getting it's arm with [0 2]
@spec in_call(Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec incorrectly_ending() :: :error
@spec incorrectly_nested_noun() :: :error
@spec incorrectly_starting() :: :error
@spec indexed_noun() :: Noun.t()
@spec int_test() :: Noun.t()
@spec int_with_core() :: Noun.t()
I represent an int gate with a specified instantiated in core given as an extra argument.
Can be gotten by defining locally
=l => resource-machine |= [a=_in b=(set)] (int:a b)
and grabbing the arm with [0 2]
@spec int_with_core_call(Noun.t(), Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec is_commitment_arm() :: Noun.t()
@spec is_commitment_test() :: true
@spec is_nullifier_arm() :: Noun.t()
@spec is_nullifier_test() :: true
@spec jam() :: Noun.t()
@spec jam_arm() :: Noun.t()
A cue arm for taking jam:anoma out of the resource-machine core environment.
Can be gotten by defining gate locally as
=localjam => resource-machine |= a=@ (jam a)
and then grabbing the arm of localjam.
@spec jamming_and_cueing() :: :ok
@spec kind_arm() :: Noun.t()
@spec kind_test() :: true
@spec lsh0() :: Noun.t()
I evaluate lsh at block size 0 and gate-input [2 6].
lsh(0) evaluates the gate of the block door at block size 0, [6 1 2 6] replaces the sample with [2 6].
@spec lsh1() :: Noun.t()
I evaluate lsh at block size 1 and gate-input [2 6].
lsh(1) evaluates the gate of the block door at block size 1, [6 1 2 6] replaces the sample with [2 6].
@spec lsh2() :: Noun.t()
I evaluate lsh at block size 1 and gate-input [2 6].
lsh(2) evaluates the gate of the block door at block size 2, [6 1 2 6] replaces the sample with [2 6].
I am an lash arm in the block door.
My index inside the door can be seen by asking to dump the logic of =llsh => resource-machine |= a=@ lsh:block
@spec lte() :: Noun.t()
@spec lte_arm() :: Noun.t()
I represent the lte gate call as a 2-argument gate.
Can be obtained by defining
=llte => resource-machine |= [a=@s b=@s] (lte [a b])
and computing
.* llte [0 2]
@spec make_delta_arm() :: Noun.t()
@spec make_delta_test() :: true
@spec mat() :: Noun.t()
@spec mat_arm() :: Noun.t()
The mat arm for taking mat:anoma from the resource-machine core environment.
Can be gotten by defining gate locally as:
=localmat => resource-machine |= a (mat a)
and then grabbing the arm of locamix.
@spec met0() :: Noun.t()
I evaluate met at block size 0 and gate-input 28.
met(0) evaluates the gate of the block door at block size 0, [6 1 28] replaces the sample with 28.
@spec met1() :: Noun.t()
I evaluate met at block size 1 and gate-input 28.
met(1) evaluates the gate of the block door at block size 1, [6 1 28] replaces the sample with 28.
@spec met2() :: Noun.t()
I evaluate met at block size 2 and gate-input 28.
met(2) evaluates the gate of the block door at block size 2, [6 1 28] replaces the sample with 28.
I am an lash arm in the block door.
My index inside the door can be seen by asking to dump the logic of =lmet => resource-machine |= a=@ met:block
@spec mix() :: Noun.t()
@spec mix_arm() :: Noun.t()
The mix arm for taking mix:anoma from the resource-machine core environment.
Can be gotten by defining gate locally as:
=localmix => resource-machine |= [a=@ b=@] (mix [a b])
and then grabbing the arm of locamix.
@spec mor_arm() :: Noun.t()
I represent the mor gate call.
Can be obtained by defining
=lmor => resource-machine |= [a= b=] (mor a b)
and computing
.* lmor [0 2]
I am the full mor gate with specified sample and resource-machine context.
@spec mor_test() :: bool()
@spec mput_test() :: Noun.t()
@spec mput_with_core() :: Noun.t()
I represent a put gate with a specified instantiated in core given as an extra argument.
Can be gotten by defining locally
=l => resource-machine |= [a=_by b=(pair)] (put:a b)
and grabbing the arm with [0 2]
@spec mput_with_core_call(Noun.t(), Noun.t(), Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec mug_arm() :: Noun.t()
I represent the mug gate call.
Can be obtained by defining
=lmug => resource-machine |= a=* (mug a)
and computing
.* lmug [0 2]
I am the full mug gate with specified sample and resource-machine context.
@spec mug_test() :: bool()
@spec nesting_noun() :: Noun.t()
@spec new() :: Noun.t()
@spec new_arm() :: Noun.t()
I represent the new gate call as a 2-argument gate.
Can be obtained by defining
=lnew => resource-machine |= [a=? b=@] (new [a b])
and computing
.* lnew [0 2]
@spec nock_scry_crash() :: Noun.t()
@spec nullifier_arm() :: Noun.t()
@spec nullifier_test(pos_integer()) :: true
@spec og_arm() :: Noun.t()
The gate representing an og core creation with a specified seed.
Can be gotten by defining
=l => resource-machine |= [seed=@] ~(. og seed)
and getting it's arm with [0 2]
@spec og_call(non_neg_integer()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec old() :: Noun.t()
@spec old_arm() :: Noun.t()
I represent the old gate call as a 2-argument gate.
Can be obtained by defining
=lold => resource-machine |= [a=@s] (old a)
and computing
.* lold [0 2]
@spec one_two() :: Noun.t()
@spec pro() :: Noun.t()
@spec pro_arm() :: Noun.t()
I represent the pro gate call as a 2-argument gate.
Can be obtained by defining
=lpro => resource-machine |= [a=@s b=@s] (pro [a b])
and computing
.* lpro [0 2]
@spec put_test() :: Noun.t()
@spec put_with_core() :: Noun.t()
I represent a put gate with a specified instantiated in core given as an extra argument.
Can be gotten by defining locally
=l => resource-machine |= [a=_in b=*] (put:in b)
and grabbing the arm with [0 2]
@spec put_with_core_call(Noun.t(), Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec rad_arm() :: Noun.t()
I represent the rad gate call as a 2-argument gate.
Can be gotten by defining
=lrad => resource-machine |= [a=@ b=@] (~(rad og a) b)
@spec rad_call(any(), non_neg_integer()) :: {:ok, Noun.t()}
I am function calling the rad gate of the og door with specified seed and range
@spec rad_tests() :: {:ok, Noun.t()}
@spec rads_arm() :: Noun.t()
I represent the rads gate call as a 2-argument gate.
Can be gotten by defining
=lrad => resource-machine |= [a=@ b=@] (~(rads og a) b)
@spec rads_call(non_neg_integer(), non_neg_integer()) :: {:error, Nock.error()} | {:ok, Noun.t()}
I am function calling the rads gate of the og door with specified seed and range
@spec rads_tests() :: :ok
@spec raw_27_4() :: {:ok, Noun.t()}
@spec raw_arm() :: Noun.t()
I represent the raw gate call as a 2-argument gate.
Can be gotten by defining
=lraw => resource-machine |= [a=@ b=@] (~(raw og a) b)
I am function calling the raw gate of the og door with specified seed and bitwidth.
@spec raws_arm() :: Noun.t()
I represent the raws gate call as a 2-argument gate.
Can be gotten by defining
=lraw => resource-machine |= [a=@ b=@] (~(raws og a) b)
I am function calling the raws gate of the og door with specified seed and bitwidth.
@spec raws_test() :: :ok
@spec raws_with_core() :: Noun.t()
I represent a raws gate with a specified instantiated og core given as an extra argument.
Can be gotten by defining locally
=l => resource-machine |= [rng=_og width=@] (raws:rng width)
and grabbing the arm with [0 2]
@spec raws_with_core_call(non_neg_integer(), non_neg_integer()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec raws_with_out_core_test() :: any()
@spec read_ab_write_c_sum() :: Noun.t()
Nock program for reading "a", "b", adding, and writing sum to "c". Used in EShardBackend tests.
@spec rem() :: Noun.t()
@spec rem_arm() :: Noun.t()
I represent the rem gate call as a 2-argument gate.
Can be obtained by defining
=lrem => resource-machine |= [a=@s b=@s] (rem [a b])
and computing
.* lrem [0 2]
@spec replacing_terms() :: Noun.t()
@spec resource_delta_arm() :: Noun.t()
@spec resource_delta_test(pos_integer()) :: true
@spec rsh0() :: Noun.t()
I evaluate rsh at block size 0 and gate-input [2 40].
rsh(0) evaluates the gate of the block door at block size 0, [6 1 2 40] replaces the sample with [2 40].
@spec rsh1() :: Noun.t()
I evaluate rsh at block size 1 and gate-input [2 40].
rsh(1) evaluates the gate of the block door at block size 1, [6 1 2 40] replaces the sample with [2 40].
@spec rsh2() :: Noun.t()
I evaluate rsh at block size 2 and gate-input [2 40].
rsh(2) evaluates the gate of the block door at block size 2, [6 1 1 40] replaces the sample with [1 40].
I am an lash arm in the block door.
My index inside the door can be seen by asking to dump the logic of =rsh => resource-machine |= a=@ rsh:block
@spec run_test() :: Noun.t()
@spec run_with_core() :: Noun.t()
I represent the run gate with a specified instantiated in core given as an extra argument.
Can be gotten by defining locally
=l => resource-machine |= [a=_in b=gate] (run:a b)
and grabbing the arm with [0 2]
@spec shax() :: Noun.t()
@spec shax_arm() :: Noun.t()
The shax arm for taking shax:anoma from the resource-machine core environment.
Can be gotten by defining gate locally as:
=localshax => resource-machine |= a=@ (shax a)
and then grabbing the arm of localshax.
shielded_core(tx_noun \\ Examples.ETransparent.ETransaction.swap_from_actions() |> Noun.Nounable.to_noun())
@spec sign() :: Noun.t()
@spec sign_arm() :: Noun.t()
The sign arm for taking sign:anoma from the resource-machine core environment.
Can be gotten by defining gate locally as:
=localsign => resource-machine |= [a=@ b=@] (sign [a b])
and then grabbing the arm of localsign.
@spec sign_detatched() :: Noun.t()
@spec sign_detatched_arm() :: Noun.t()
The sign-detatched arm for taking sign-detached:anoma from the resource-machine core environment.
Can be gotten by defining gate locally as:
=localsigndetached => resource-machine |= [a=@ b=@] (sign-detached [a b])
and then grabbing the arm of localsighdetached.
@spec silt_arm() :: Noun.t()
I represent the mor gate call.
Can be obtained by defining
=lsilt => resource-machine |= a=(list) (silt a)
and computing
.* lsilt [0 2]
@spec silt_test() :: true
@spec split_arm() :: Noun.t()
I represent a split gate call given an og core with seed.
Can be gotten by defining locally
=l => resource-machine |= [rng=_og] split:rng
and grabbing the arm with [0 2]
@spec split_call(Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec sum() :: Noun.t()
@spec sum_arm() :: Noun.t()
I represent the sum gate call as a 2-argument gate.
Can be obtained by defining
=lsum => resource-machine |= [a=@s b=@s] (sum [a b])
and computing
.* lsum [0 2]
@spec sun() :: Noun.t()
@spec sun_arm() :: Noun.t()
@spec syn() :: Noun.t()
@spec syn_arm() :: Noun.t()
@spec t_compose_arm() :: Noun.t()
@spec t_compose_test() :: true
@spec tap_by_test() :: Noun.t()
@spec tap_by_with_core() :: Noun.t()
I represent a tap:by call with a specified instantiated in core given as an extra argument.
Can be gotten by defining locally
=l => resource-machine |= a=_by tap:a
and grabbing the arm with [0 2]
@spec tap_by_with_core_call(Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec tap_in_test() :: Noun.t()
@spec tap_in_with_core() :: Noun.t()
I represent a tap:in call with a specified instantiated in core given as an extra argument.
Can be gotten by defining locally
=l => resource-machine |= a=_in tap:a
and grabbing the arm with [0 2]
@spec tap_in_with_core_call(Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec test_nock_program_tx1() :: :ok
I test a Nock program for writing 3 to "a".
I verify stage 1 (reservation/code split) and stage 2 (execution).
@spec test_nock_program_tx3() :: :ok
I test a Nock program for the sequence (read a, read b, add a and b, write result to c).
I verify stage 1 (reservation/code split) and stage 2 (execution with mock scry).
transparent_core(tx_noun \\ Examples.ETransparent.ETransaction.swap_from_actions() |> Noun.Nounable.to_noun())
@spec trivial_swap() :: Noun.t()
@spec trivial_swap_no_eph() :: Noun.t()
@spec uend0() :: Noun.t()
I evaluate uend at block size 0 and gate-input [5 80].
uend(0) evaluates the gate of the block door at block size 0, [6 1 5 80] replaces the sample with [5 80].
@spec uend1() :: Noun.t()
I evaluate uend at block size 1 and gate-input [3 80] and [4 80].
uend(1) evaluates the gate of the block door at block size 1, [6 1 3 80] replaces the sample with [3 80], [6 1 4 80] replaces the sample with [3 80]
I am an lash arm in the block door.
My index inside the door can be seen by asking to dump the logic of =luend => resource-machine |= a=@ luend:block
@spec uni_test() :: Noun.t()
@spec uni_with_core() :: Noun.t()
I represent a uni gate with a specified instantiated in core given as an extra argument.
Can be gotten by defining locally
=l => resource-machine |= [a=_in b=(set)] (uni:a b)
and grabbing the arm with [0 2]
@spec uni_with_core_call(Noun.t(), Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec verify() :: Noun.t()
@spec verify_arm() :: Noun.t()
The verify arm for taking verify:anoma from the resource-machine core environment.
Can be gotten by defining gate locally as:
=localverify => resource-machine |= [a=@ b=@] (verify [a b])
and then grabbing the arm of localverify.
@spec verify_detatched() :: Noun.t()
@spec verify_detatched_arm() :: Noun.t()
The verify-detatched arm for taking verify-detached:anoma from the resource-machine core environment.
Can be gotten by defining gate locally as:
=localverifydetached => resource-machine |= [a=@ b=@ c=@] (verify-detached [a b])
and then grabbing the arm of localverifydetached.
@spec wyt_test() :: Noun.t()
@spec wyt_with_core() :: Noun.t()
I represent a wyt gate with a specified instantiated in core given as an extra argument.
Can be gotten by defining locally
=l => resource-machine |= a=_in wyt:a
and grabbing the arm with [0 2]
@spec wyt_with_core_call(Noun.t()) :: {:error, Nock.error()} | {:ok, Noun.t()}
@spec zero_delta_arm() :: Noun.t()
@spec zero_delta_call() :: :error | {:ok, Noun.t()}
@spec zero_delta_logic() :: Noun.t()
@spec zero_delta_test() :: true