def keep

bolt@1.27.0.0 · src/rules/suspicious/concat.bend:283

import bolt@1.27.0.0/src/rules/suspicious/concat.bend as Concat
import Base

283# may an append onto the parameter be reported? Any parameter but a `+` one
284# the body reads more than once: that one builds a value it also uses
285# elsewhere (`path ++ "/" ++ name`), not an accumulator
286def keep(+isplus: Bool, count: Nat) -> Bool:
287  match count:
288    case 0n:
289      True{}
290    case 1n+more:
291      keep.again(isplus, more)

Uses (3)

Used by (1)