def count_word

bend-collections@1.0.0.0 · src/containers/bitset.bend:254

import bend-collections@1.0.0.0/src/containers/bitset.bend as Bitset
import Base

254# A zero word contributes nothing and is skipped.
255def count_word(+w: U32, +acc: Nat, zero: Bool) -> Nat:
256  match zero:
257    case True{}:
258      acc
259    case False{}:
260      word_count_8(4n, w, acc)

Uses (4)

Used by (2)