~/bend-docscommunity

internal/relation_failures/domains.bend checks

raw source on the hub · import 0x67fd5084c1da4adc13317822045bb11f/internal/relation_failures/domains.bend as Domains

3 imports
import Base
import queue.bend as Q
import ../../event_runtime.bend as Ev

Types

type DescriptorKey source · line 6 · raw

@S:Data -> Data

Schema-owned descriptor IDs; a key's readers never hold another key's log.

type Domain source · line 8 · raw

@S:Data -> @E:Data -> Data

Definitions

def member source · line 15 · raw

@ids:List<&2, U32> -> @+wanted:U32 -> Bool

def add_checked source · line 20 · raw

@found:Bool -> @ids:List<&2, U32> -> @id:U32 -> List<&2, U32>

def add source · line 25 · raw

@+ids:List<&2, U32> -> @+id:U32 -> List<&2, U32>

def select_boundary source · line 28 · raw

@registered:Bool -> @+cursor:Nat -> @boundary:Nat -> Nat

def boundary source · line 33 · raw

@positions:List<&2, 0x67fd5084c1da4adc13317822045bb11f/event_runtime.Position> -> @+ids:List<&2, U32> -> @acc:Nat -> Nat

Templates

template key_equal source · line 11 · raw

@-S:Data -> @left:DescriptorKey<S> -> @right:DescriptorKey<S> -> Bool

template trim_domain source · line 38 · raw

@-S:Data -> @-E:Data -> @domain:Domain<S, E> -> @+positions:List<&2, 0x67fd5084c1da4adc13317822045bb11f/event_runtime.Position> -> @fallback:Nat -> @capacity:Nat -> Domain<S, E>

template trim source · line 42 · raw

@-S:Data -> @-E:Data -> @domains:List<&2, Domain<S, E>> -> @+positions:List<&2, 0x67fd5084c1da4adc13317822045bb11f/event_runtime.Position> -> @+fallback:Nat -> @+capacity:Nat -> List<&2, Domain<S, E>>

template activate_domain source · line 47 · raw

@-S:Data -> @-E:Data -> @same:Bool -> @domain:Domain<S, E> -> @id:U32 -> Domain<S, E>

template activate_walk source · line 52 · raw

@-S:Data -> @-E:Data -> @same:Bool -> @domain:Domain<S, E> -> @+rest:List<&2, Domain<S, E>> -> @id:U32 -> @ih:(@_:Unit -> List<&2, Domain<S, E>>) -> List<&2, Domain<S, E>>

template activate_one source · line 57 · raw

@-S:Data -> @-E:Data -> @domains:List<&2, Domain<S, E>> -> @+wanted:DescriptorKey<S> -> @+id:U32 -> List<&2, Domain<S, E>>