ExecutionEventFamily.highest: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_event_family.bend as ExecutionEventFamily Lines 92-95 of bendvy-ecs-core@0.1.0.3/execution_event_family.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_event_family.bend&start_line=92&end_line=95 import Base def highest(ids:List<&2,Nat>,+initial:Nat) -> Nat: match ids: case []:initial case id <> rest:highest(rest,Nat.max(initial,id)) Uses (3): 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=Nat.max