def entities_tail
import bendvy-ecs-core@0.1.0.4/restore_raw.bend as RestoreRawimport 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}