def wants.bad

ezx@1.11.0.0 · src/lock/plan.bend:1166

import ezx@1.11.0.0/src/lock/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/lock/world.bend as W
import ezx@1.11.0.0/src/lock/lock.bend as L

1166# nothing more is asked once the lock is known to refuse
1167def wants.bad(
1168  clean: Bool,
1169  hs: List<&2, String>,
1170  +here: String,
1171  +orgs: List<&2, L.Origin>,
1172  +hub: String
1173) -> List<&2, W.Ask>:
1174  match clean:
1175    case True{}:
1176      asks.of(List.reverse(&2, String, hs), here, orgs, hub)
1177    case False{}:
1178      []

Uses (7)

Used by (1)