tail-offset ( pvec -- n ) (original) (raw)
Vocabulary
persistent.vectors.private
Inputs
pvec | an object |
---|
Outputs
n | an object |
---|
Definition
USING: accessors kernel math sequences ;
IN: persistent.vectors.private
: tail-offset ( pvec -- n )
[ count>> ] [ tail>> children>> length ] bi - ;