Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal

Sequence

Sequence

(T 
type
)
 ref
:
countable
 is
[Contains abstract features]
[Module base]
Sequence -- ancestor for features that can be converted to a 'list'

Sequences are empty, finite or infinite ordered collections of instances
of a given type. Sequences may calculate elements lazily on demand.

Sequence is a 'ref' type, i.e., different sub-features may be assigned
to a field of type 'Sequence'.

Heirs of Sequence must implement 'as_list'.

Type Parameters

T
:
Any
[Module base]

Functions

group the elements of this sequence by a key of type K

f determines the key of an element
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)