def seen

bolt@1.27.0.0 · src/rules/suspicious/unused.bend:230

import bolt@1.27.0.0/src/rules/suspicious/unused.bend as Unused
import Base
import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy
import bolt@1.27.0.0/src/syntax/bind.bend as Bind

230# is the binder at (line, col) the target of any use? The index answers a
231# hit at once; only a miss reads the uses
232def seen(hh: Hits, +uses: List<&2, Bind.Use>, +line: U32, +col: U32) -> Bool:
233  Lazy.or_else(find(path(depth(), line), hh, line, col), _u => used(uses, line, col))

Uses (10)

Used by (1)