~/bend-docscommunity

owned_event_key_route.bend checks

raw source on the hub · import 0x67fd5084c1da4adc13317822045bb11f/owned_event_key_route.bend as Owned_event_key_route

3 imports
import Base
import ./ordinary_event_family.bend as Family
import ./event_publication.bend as Publication

Definitions

def inject_leaf source · line 8 · raw

@id:Nat -> Nat

These are the existing Data-family singleton injections and ordered branch projections, specialized to log-local Nat IDs. Equal IDs on sibling branches remain distinct because each declaration binds both its route and resource path.

def select_leaf source · line 13 · raw

@ids:List<&2, Nat> -> List<&2, Nat>

Templates

template inject_left source · line 9 · raw

@-A:Data -> @-B:Data -> @-inject:(@_:Nat -> A) -> @id:Nat -> 0x67fd5084c1da4adc13317822045bb11f/event_publication.Publication<A, B>

template inject_right source · line 11 · raw

@-A:Data -> @-B:Data -> @-inject:(@_:Nat -> B) -> @id:Nat -> 0x67fd5084c1da4adc13317822045bb11f/event_publication.Publication<A, B>

template select_left source · line 14 · raw

@-A:Data -> @-B:Data -> @-select:(@_:List<&2, A> -> List<&2, Nat>) -> @records:List<&2, 0x67fd5084c1da4adc13317822045bb11f/event_publication.Publication<A, B>> -> List<&2, Nat>

template select_right source · line 16 · raw

@-A:Data -> @-B:Data -> @-select:(@_:List<&2, B> -> List<&2, Nat>) -> @records:List<&2, 0x67fd5084c1da4adc13317822045bb11f/event_publication.Publication<A, B>> -> List<&2, Nat>