def ns_push

bend-collections@1.0.0.0 · src/containers/balanced_search_tree.bend:759

import bend-collections@1.0.0.0/src/containers/balanced_search_tree.bend as BalancedSearchTree
import Base
import bend-collections@1.0.0.0/src/containers/types/dynamic_array.bend as DE

759def ns_push(~K: Data, s: NodeStore<K>, +node: Node<K>) -> NodeStore<K> & Result<&2, &2, DE.Error, Unit>:
760  NS{+limit, +depth, +cap, +used, tags, lefts, rights, parents, keys} = s
761  ns_push_room(~K, limit, depth, cap, used, tags, lefts, rights, parents, keys, node, Nat.is_lt(used, cap), Nat.is_lt(depth, limit))

Uses (8)

Used by (1)