def asks.anchored

ezx@1.11.0.0 · src/fetch/plan.bend:959

import ezx@1.11.0.0/src/fetch/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/toml/toml.bend as T
import ezx@1.11.0.0/src/fetch/world.bend as F
import ezx@1.11.0.0/src/lock/lock.bend as L

959# whether every question does
960def asks.anchored(+here: String, +ss: List<&2, T.Sect>, as: List<&2, F.Ask>) -> Bool:
961  match as:
962    case []:
963      True{}
964    case +h <> t:
965      +rest = asks.anchored(here, ss, t)
966      Bool.and(ask.anchored(here, L.pack.src(L.pack_of(ss, ask.hash(h))), h), rest)

Uses (10)

Used by (0)

No other definition uses this definition.