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

set_of_hashable

container.set_of_hashable

set_of_hashable -- routine to initialize a set from a Sequence of hashable elements

This feature creates an instance of a Set.

Type Parameters

Functions

(k container.set_of_hashable.K)
 => 
container.this.Set container.set_of_hashable.K
[Redefinition of  container.Set.add]
[Contains abstract features]
add new element k to this set.

NYI: UNDER DEVELOPMENT: this should be integrated in the mutate effect!

redefines:

 => 
list container.set_of_hashable.K
[Redefinition of  container.Set.as_list]
[Contains abstract features]
list representation of values in this set
(k container.set_of_hashable.K)
 => 
bool
[Redefinition of  container.Set.contains]
[Contains abstract features]
does this set contain the given value?
group the elements of this sequence by a key of type K

f determines the key of an element
(k container.set_of_hashable.K)
 => 
container.this.Set container.set_of_hashable.K
[Contains abstract features]
remove an element k from the set if it exists.
return the same set if it does not exist.
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)