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

Mutable_Linked_List

container.Mutable_Linked_List

§
(LM 
type
, T 
type
)
 ref
:
Linked_List T
 is
 
[Private constructor]
 
[Module base]

a type for mutable singly linked lists

On call to `Mutable_Linked_List LM T data` creates a minimal list consisting
of only one single element. To create larger rings, you can either call
`append` to add single cells, or `concat` to concatenate two lists.

Type Parameters

§
LM
:
Any 
[Private constructor]
 
[Module base]
§
T
:
Any 
[Private constructor]
 
[Module base]
type of data stored in this list

Fields

§
data
 T  
[Redefinition of  container.Linked_List.data]
 
[Module base]
the data stored in this element.

Functions

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

f determines the key of an element