length ( seq -- n )
Virtual sequence protocol

Next:virtual-exemplar ( seq -- seq' )


Vocabulary
sequences

Inputs
seqa sequence


Outputs
na non-negative integer


Generic word contract
Outputs the length of the sequence. All sequences support this operation.

Examples
USING: prettyprint sequences ; { 1 "a" { 2 3 } f } length .
4

USING: prettyprint sequences ; "Hello, world!" length .
13


Definition


Methods