def relations_tail

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

import bendvy-ecs-core@0.1.0.4/restore_graph_raw.bend as RestoreGraphRaw
import Base
import bendvy-ecs-core@0.1.0.4/restore_raw.bend as Basic
import bendvy-ecs-core@0.1.0.4/restore_graph_data.bend as Graph

57def relations_tail(head:Graph.Relation,result:Basic.Decoded<List<&2,Graph.Relation>>) -> Basic.Decoded<List<&2,Graph.Relation>>:
58  match result:
59    case Basic.Value{tail}:Basic.Value{head <> tail}
60    case Basic.Failed{error}:Basic.Failed{error}

Uses (3)

Used by (1)