def hit_keep

bolt@1.27.0.0 · src/rules/pedantic/rewalk.bend:291

import bolt@1.27.0.0/src/rules/pedantic/rewalk.bend as Rewalk
import Base

291# a read counts only once the left of `=` is over
292def hit_keep(skip: Bool, hh: Hit) -> Hit:
293  match skip:
294    case True{}:
295      none_hit()
296    case False{}:
297      hh

Uses (3)

Used by (1)