Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Sequence

Sequence

§
(T 
type
)
 ref
:
equatable
 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