def has_change
import near-v-framework@0.4.0.0/domain/architecture/system/effects.bend as Effectsimport Base
import near-v-framework@0.4.0.0/domain/architecture/system/plan/type.bend as P
331# ---- the whole plan: the release, the stack, each deployment node, and what the deploy would break ----
332# ---- a nix-darwin node: its checks, what a rebuild would change, and the rebuild when anything would ----
333def has_change(ss: List<&2, P.Step>) -> Bool:
334 match ss:
335 case []:
336 False{}
337 case s <> rest:
338 match s:
339 case P.Change{_, _, _}:
340 True{}
341 case _:
342 has_change(rest)