def append

bendvy-ecs-core@0.1.0.3 · execution_relation_failure_retention.bend:62

import bendvy-ecs-core@0.1.0.3/execution_relation_failure_retention.bend as ExecutionRelationFailureRetention
import Base
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout

62def append(prefix:Layout.Route,+suffix:Layout.Route) -> Layout.Route:
63  match prefix:
64    case Layout.AtLeaf{}:suffix
65    case Layout.InLeft{rest}:Layout.InLeft{append(rest,suffix)}
66    case Layout.InRight{rest}:Layout.InRight{append(rest,suffix)}

Uses (1)

Used by (1)