fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Library Modules
•
Sequence
»
Modules
base
clang
crypto
database
http
lock_free
mail
nom
sodium
sqlite
terminal
uuid
web
wolfssl
universe (module lock_free)
└─
lock_free
├─
Map
├─
Sieve_Cache
(1 arg)
└─
stack
Sequence
Sequence
Sequence
(T
type
)
ref
:
countable
,
orderable
,
hashable
is
[Contains abstract features]
[Module base]
¶
[src]
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]
¶
[src]
Functions
group_hashable_by
(K
type
:
property.hashable
, f
Unary K T
)
=>
container.Map K (Sequence T)
¶
[src]
group the elements of this sequence by a key of type K
f determines the key of an element
0.095dev (GIT hash 5a97c5766ea04e5412cbfaed4c53658737cd2e4b)
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'.