def append
bendvy-ecs-core@0.1.0.3 · execution_lifetime_scope_coverage.bend:15
import bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_coverage.bend as ExecutionLifetimeScopeCoverage
import Base
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout
15def append(prefix:Layout.Route,+suffix:Layout.Route) -> Layout.Route:
16 match prefix:
17 case Layout.AtLeaf{}:suffix
18 case Layout.InLeft{rest}:Layout.InLeft{append(rest,suffix)}
19 case Layout.InRight{rest}:Layout.InRight{append(rest,suffix)}