sum-lengths ( seq -- n )


Vocabulary
sequences

Inputs
seqa sequence of sequences


Outputs
nan integer


Word description
Outputs the sum of the lengths of all sequences in seq.

Examples
USING: prettyprint sequences ; { { 11 43 3.2 } { 1 } { 15 16 } } sum-lengths .
6

USING: prettyprint sequences ; { "hello" f { 1 2 3 } { } } sum-lengths .
8


Definition


Methods