BitTree.tree_word: def of mylsm-lsm-store@0.3.2.0 Import: import mylsm-lsm-store@0.3.2.0/src/BitTree.bend as BitTree Lines 115-130 of mylsm-lsm-store@0.3.2.0/src/BitTree.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.3.2.0/src/BitTree.bend&start_line=115&end_line=130 import Base def tree_word(path: List<&2, Bool>, tree: WordTree) -> U32: match path tree: case Nil{} Empty{}: 0 case Nil{} Leaf{word}: word case Nil{} Fork{left, right}: 0 case Con{side, rest} Empty{}: 0 case Con{side, rest} Leaf{word}: 0 case Con{False{}, rest} Fork{left, right}: tree_word(rest, left) case Con{True{}, rest} Fork{left, right}: tree_word(rest, right) Uses (4): 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=U32 https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.3.2.0/src/BitTree.bend&name=WordTree