~/bend-docscommunity

owned_event_family_catalog.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.1/owned_event_family_catalog.bend as Owned_event_family_catalog

5 imports
import Base
import ./owned_event_log.bend as Log
import ./event_stream.bend as Stream
import ./event_publication.bend as Publication
import ./owner_product.bend as Product

Types

type Catalog source · line 8 · raw

@E:Data -> @Logs:Type -> @F:Type -> @Receipt:Type -> @-retain:(@_:Logs -> @_:List<&2, E> -> Pair(Logs, Receipt)) -> @-drain:(@_:Logs -> Pair(Logs, Receipt)) -> @-clear:(@_:F -> F) -> Data

Trusted raw descriptor. Ordinary leaf/both derive complete matching log/stream trees.

Templates

template leaf_clear source · line 9 · raw

@-S:Data -> @stream:0xf435da9e535b3846d643dad16580e35f/event_stream.Stream<S, Nat> -> 0xf435da9e535b3846d643dad16580e35f/event_stream.Stream<S, Nat>

template leaf source · line 12 · raw

@-S:Data -> @-P:Type -> Catalog<Nat, 0xf435da9e535b3846d643dad16580e35f/owned_event_log.Log<P>, 0xf435da9e535b3846d643dad16580e35f/event_stream.Stream<S, Nat>, List<&1, 0xf435da9e535b3846d643dad16580e35f/owned_event_log.Row<P>>, 0xf435da9e535b3846d643dad16580e35f/owned_event_log.retain(P), 0xf435da9e535b3846d643dad16580e35f/owned_event_log.drain(P), leaf_clear(S)>

template joined source · line 13 · raw

@-LA:Type -> @-LB:Type -> @-RA:Type -> @-RB:Type -> @first:Pair(LA, RA) -> @second:Pair(LB, RB) -> Pair(0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<LA, LB>, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<RA, RB>)

template pair_retain source · line 17 · raw

@-EA:Data -> @-EB:Data -> @-LA:Type -> @-LB:Type -> @-RA:Type -> @-RB:Type -> @-retainA:(@_:LA -> @_:List<&2, EA> -> Pair(LA, RA)) -> @-retainB:(@_:LB -> @_:List<&2, EB> -> Pair(LB, RB)) -> @logs:0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<LA, LB> -> @records:List<&2, 0xf435da9e535b3846d643dad16580e35f/event_publication.Publication<EA, EB>> -> Pair(0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<LA, LB>, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<RA, RB>)

template pair_drain source · line 22 · raw

@-LA:Type -> @-LB:Type -> @-RA:Type -> @-RB:Type -> @-drainA:(@_:LA -> Pair(LA, RA)) -> @-drainB:(@_:LB -> Pair(LB, RB)) -> @logs:0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<LA, LB> -> Pair(0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<LA, LB>, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<RA, RB>)

template pair_clear source · line 25 · raw

@-FA:Type -> @-FB:Type -> @-clearA:(@_:FA -> FA) -> @-clearB:(@_:FB -> FB) -> @family:0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<FA, FB> -> 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<FA, FB>

template both source · line 28 · raw

@-EA:Data -> @-LA:Type -> @-FA:Type -> @-RA:Type -> @-retainA:(@_:LA -> @_:List<&2, EA> -> Pair(LA, RA)) -> @-drainA:(@_:LA -> Pair(LA, RA)) -> @-clearA:(@_:FA -> FA) -> @-EB:Data -> @-LB:Type -> @-FB:Type -> @-RB:Type -> @-retainB:(@_:LB -> @_:List<&2, EB> -> Pair(LB, RB)) -> @-drainB:(@_:LB -> Pair(LB, RB)) -> @-clearB:(@_:FB -> FB) -> @-leftCatalog:Catalog<EA, LA, FA, RA, retainA, drainA, clearA> -> @-rightCatalog:Catalog<EB, LB, FB, RB, retainB, drainB, clearB> -> Catalog<0xf435da9e535b3846d643dad16580e35f/event_publication.Publication<EA, EB>, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<LA, LB>, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<FA, FB>, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<RA, RB>, pair_retain(EA, EB, LA, LB, RA, RB, retainA, retainB), pair_drain(LA, LB, RA, RB, drainA, drainB), pair_clear(FA, FB, clearA, clearB)>