def from_bools
import bend-collections@1.0.0.0/src/containers/bitset.bend as Bitsetimport Base
451# Bitset whose logical bits are exactly bs (bit 0 first).
452def from_bools(+bs: List<&2, Bool>) -> Bitset:
453 fill(bs, 0n, new(bool_count(bs)))
import bend-collections@1.0.0.0/src/containers/bitset.bend as Bitsetimport Base
451# Bitset whose logical bits are exactly bs (bit 0 first).
452def from_bools(+bs: List<&2, Bool>) -> Bitset:
453 fill(bs, 0n, new(bool_count(bs)))