def word_at
import mylsm-lsm-store@0.6.0.1/src/BitTree.bend as BitTreeimport Base
153# Safe logical-word lookup; padding leaves are not externally addressable.
154def word_at(+tree: BitTree, +index: Nat) -> U32:
155 word_at_if(Nat.is_lt(index, word_count(tree)), tree, index)