StorageTreeModel.pack: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/storage_tree_model.bend as StorageTreeModel Lines 9-14 of stelliferous@0.0.2.0/proofs/storage_tree_model.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/proofs/storage_tree_model.bend&start_line=9&end_line=14 import Base def pack(-T: Data,tree: Tree) -> Array: match tree: case Leaf{v}: ALeaf{v} case Node{l,r}: ANode{pack(T,l),pack(T,r)} Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/storage_tree_model.bend&name=Tree