OwnedEventLog.counted_row: def of bendvy-ecs-core@0.1.0.3
Import: import bendvy-ecs-core@0.1.0.3/owned_event_log.bend as OwnedEventLog
Lines 64-66 of bendvy-ecs-core@0.1.0.3/owned_event_log.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/owned_event_log.bend&start_line=64&end_line=66
import Base
def counted_row(~P:Type,row:Row
,result:List> & Nat) -> List> & Nat:
match result:
case (rows,count):(row <> rows,1n+count)
Uses (5):
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma
https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/owned_event_log.bend&name=Row