def conf.used
import bolt@1.27.0.0/src/lint/plan.bend as Planimport Base
import bolt@1.27.0.0/src/lint/world.bend as W
438# the bolt.bend that grades each directory, in directory order: the first of
439# its candidates the World read, as conf.near reads it; none for a directory
440# graded by the defaults
441def conf.used(ds: List<&2, String>, +world: W.World) -> List<&2, String>:
442 match ds:
443 case Nil{}:
444 Nil{}
445 case Con{d, rest}:
446 List.append(&2, String, conf.first(gots(conf.chain(world, d), world)), conf.used(rest, world))