def entities_tail

bendvy-ecs-core@0.1.0.4 · restore_raw.bend:57

import bendvy-ecs-core@0.1.0.4/restore_raw.bend as RestoreRaw
import Base
import bendvy-ecs-core@0.1.0.4/snapshot_data.bend as Snapshot

57def entities_tail(head:Snapshot.Entity,result:Decoded<List<&2,Snapshot.Entity>>) -> Decoded<List<&2,Snapshot.Entity>>:
58  match result:
59    case Value{tail}:Value{head <> tail}
60    case Failed{error}:Failed{error}

Uses (3)

Used by (1)