def new

mylsm-lsm-store@0.6.0.1 · src/BitTree.bend:68

import mylsm-lsm-store@0.6.0.1/src/BitTree.bend as BitTree
import Base

68# Handle new in the packed bit-tree operations.
69def new(+words: Nat) -> BitTree:
70  match words:
71    case 0n:
72      BT{Empty{}, 0n, 0n, 0n}
73    case 1n+n:
74      new_from_plan(words, plan(words))

Uses (5)

Used by (1)