Bitlist.word_bits: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/containers/bitlist.bend as Bitlist Lines 223-229 of bend-collections@1.0.0.0/src/containers/bitlist.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/containers/bitlist.bend&start_line=223&end_line=229 import Base import bend-collections@1.0.0.0/src/containers/bitset.bend as B # The low m bits of x, bit 0 first, in front of rest. def word_bits(m: Nat, +x: U32, rest: List<&2, Bool>) -> List<&2, Bool>: match m: case 0n: rest case 1n+p: Con{B.low(x), word_bits(p, U32.shr(x), rest)} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shr https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/bitset.bend&name=low