def lift
near-v-framework@0.4.0.0 · general/compound/ops.bend:98
import near-v-framework@0.4.0.0/general/compound/ops.bend as Ops
import Base
import near-v-framework@0.4.0.0/general/rose/ops.bend as RO
import near-v-framework@0.4.0.0/general/compound/edge/type.bend as E
import near-v-framework@0.4.0.0/general/compound/type.bend as C
98
99def lift(-N: Data, c: C.Compound<N>, +visible: List<&2, String>) -> List<&2, E.Edge>:
100 match c:
101 case C.Compound{rs, es}:
102 lift_edges(List.reverse(&2, E.Edge, es), RO.places(N, rs, []), visible)