def keep.effects

ezx@1.11.0.0 · src/ws/relock.bend:150

import ezx@1.11.0.0/src/ws/relock.bend as Relock
import Base
import ezx@1.11.0.0/src/lock/plan.bend as LP

150# every effect of the command at the root, so
151def keep.effects(+old: String, es: List<&2, LP.Effect>) -> List<&2, LP.Effect>:
152  match es:
153    case []:
154      []
155    case hd <> tl:
156      keep.effect(old, hd) <> keep.effects(old, tl)

Uses (4)

Used by (1)