def valid_bit
import mylsm-lsm-store@0.6.0.1/src/BitTree.bend as BitTreeimport Base
87# Check whether bit holds for the packed bit-tree operations.
88def valid_bit(tree: BitTree, bit: Nat) -> Bool:
89 Nat.is_lt(bit, bit_count(tree))
import mylsm-lsm-store@0.6.0.1/src/BitTree.bend as BitTreeimport Base
87# Check whether bit holds for the packed bit-tree operations.
88def valid_bit(tree: BitTree, bit: Nat) -> Bool:
89 Nat.is_lt(bit, bit_count(tree))