type Spans

bend-lint-rules@0.2.0.0 · lib/text/main.bend:46

import bend-lint-rules@0.2.0.0/lib/text/main.bend as BendLintRules
import Base

46# Spans that never touch (`Spans.touches`), by place: a balanced (AVL) tree, by start, then end; `height` counts its
47# levels. As spans never touch, their ends rise with their starts.
48type Spans is Data:
49  SLeaf{}
50  SNode{height: U32, left: Spans, beg: U32, end: U32, right: Spans}

Uses (1)

Used by (16)