def blocked

near-v-framework@0.4.0.0 · domain/architecture/system/container/effects.bend:39

import near-v-framework@0.4.0.0/domain/architecture/system/container/effects.bend as Effects
import Base
import near-v-framework@0.4.0.0/domain/architecture/system/plan/type.bend as P

39def blocked(+what: String, xs: List<&2, String>, +why: String) -> List<&2, P.Step>:
40  match xs:
41    case []:
42      []
43    case x <> rest:
44      P.Blocked{what, x ++ why} <> blocked(what, rest, why)

Uses (4)

Used by (1)