~/bend-docscommunity

ordinary_machine_transition_reader.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.6/ordinary_machine_transition_reader.bend as Ordinary_machine_transition_reader

11 imports
import Base
import ./change_tick.bend as Tick
import ./world.bend as W
import ./system.bend as Sys
import ./system_instance.bend as SI
import ./system_cleanup.bend as Cleanup
import ./machine.bend as M
import ./machine_stream.bend as St
import ./event_runtime.bend as Ev
import ./ordinary_machine_initialization.bend as Resource
import ./ordinary_machine_declaration.bend as Machine

Types

type Declaration source · line 14 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-R:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> Data

One schema-owned declaration binds the actual stream lens and descriptive name.

type Input source · line 16 · raw

@V:Data -> @A:Type -> Type

type Completion source · line 18 · raw

@Error:Data -> @Out:Type -> Type

type ReadResult source · line 21 · raw

@-World:Type -> @-Reader:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-V:Data -> Type

Templates

template validate source · line 26 · raw

@-S:Data -> @-K:Data -> @reader:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Reader<S, K> -> @namespace:U32 -> @id:U32 -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Reader<S, K>, Bool)

template create source · line 29 · raw

@-S:Data -> @-K:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @namespace:U32 -> @id:U32 -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Reader<S, K>)

template stream_set_result source · line 31 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Unit) -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>

template stream_set_resource source · line 34 · raw

@-V:Data -> @-R:Type -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @stream:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> @resource:R -> Pair(R, Unit)

template stream_set source · line 36 · raw

@-S:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @stream:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>

template removed source · line 38 · raw

@-S:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @id:U32 -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>) -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>

template remove source · line 41 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @reader:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Reader<S, K> -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>

template initialized_taken source · line 46 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-R:Type -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V> -> R) -> @result:Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V>) -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)

Initializer declarations supply the same operational state cell and name.

template initialized_take source · line 49 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-R:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V> -> R) -> @resource:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)

template initialized_put_taken source · line 51 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-R:Type -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V> -> R) -> @stream:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> @result:Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V>) -> R

template initialized_put source · line 54 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-R:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V> -> R) -> @resource:R -> @stream:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R

template from_initialization source · line 56 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-R:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.State<S, K, V> -> R) -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_declaration.Declaration<S, K, V, R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_machine_initialization.take_slot(S, K, V, R, take, put)> -> Declaration<S, K, V, R, initialized_take(S, K, V, R, take, put), initialized_put(S, K, V, R, take, put)>

template instance_type source · line 59 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> Type

template registration_type source · line 60 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> Type

template disposal_type source · line 61 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> Type

template access source · line 62 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-R:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @value:Declaration<S, K, V, R, take, put> -> List<&2, String>

template register source · line 65 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @-declaration:Declaration<S, K, V, R, take, put> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @name:String -> registration_type(S, K, V, C, R, E, A, Error, Out, take, put, callback)

template dispose source · line 67 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @reader:instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> disposal_type(S, K, V, C, R, E, A, Error, Out, take, put, callback)

template skip source · line 70 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @reader:instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback), 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>)

Unrun reader parameters neither activate nor consume unread transitions.

template delivered source · line 72 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @reader:instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @reading:0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Reading<0x14a72e1c180a5ab1f8a056d43822425c/machine.Transition<V>> -> @completion:Completion<Error, Out> -> ReadResult<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback), A, Error, Out, V>

template finished source · line 76 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @registry:0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, C, R, E, Input<V, A>, Error, Out, callback> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @reading:0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Reading<0x14a72e1c180a5ab1f8a056d43822425c/machine.Transition<V>> -> @completion:Completion<Error, Out> -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Reader<S, K>, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>) -> ReadResult<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback), A, Error, Out, V>

template finishing source · line 79 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @reader:instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback) -> @reading:0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Reading<0x14a72e1c180a5ab1f8a056d43822425c/machine.Transition<V>> -> @tick:Nat -> @success:Bool -> @completion:Completion<Error, Out> -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>) -> ReadResult<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback), A, Error, Out, V>

template finish source · line 82 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @reader:instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @reading:0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Reading<0x14a72e1c180a5ab1f8a056d43822425c/machine.Transition<V>> -> @tick:Nat -> @success:Bool -> @completion:Completion<Error, Out> -> ReadResult<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback), A, Error, Out, V>

template callback_result source · line 84 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @reading:0x14a72e1c180a5ab1f8a056d43822425c/event_runtime.Reading<0x14a72e1c180a5ab1f8a056d43822425c/machine.Transition<V>> -> @tick:Nat -> @result:0x14a72e1c180a5ab1f8a056d43822425c/system_instance.RunResult<S, C, R, E, Input<V, A>, Error, Out, callback, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Reader<S, K>, validate(S, K), remove(S, K, V, C, R, E, take, put)> -> ReadResult<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback), A, Error, Out, V>

template opened source · line 89 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @registry:0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, C, R, E, Input<V, A>, Error, Out, callback> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @args:A -> @tick:Nat -> @result:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.OpenResult<S, K, V> -> ReadResult<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback), A, Error, Out, V>

template opening source · line 93 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @reader:instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback) -> @args:A -> @+tick:Nat -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>) -> ReadResult<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback), A, Error, Out, V>

template clocked source · line 96 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @reader:instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback) -> @args:A -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick) -> ReadResult<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback), A, Error, Out, V>

template checked source · line 99 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @allowed:Bool -> @reader:instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback) -> @args:A -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Bool) -> ReadResult<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback), A, Error, Out, V>

template namespaced source · line 104 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @reader:instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback) -> @args:A -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, U32) -> ReadResult<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback), A, Error, Out, V>

template read source · line 108 · raw

@-S:Data -> @-K:Data -> @-V:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-A:Type -> @-Error:Data -> @-Out:Type -> @-take:(@_:R -> Pair(R, 0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V>)) -> @-put:(@_:R -> @_:0x14a72e1c180a5ab1f8a056d43822425c/machine_stream.Stream<V> -> R) -> @-callback:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @_:Input<V, A> -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, Error, Out>) -> @reader:instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> @args:A -> ReadResult<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, instance_type(S, K, V, C, R, E, A, Error, Out, take, put, callback), A, Error, Out, V>

Namespace/registration checks precede activation, callback and any cursor change.