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]
add new element k to this set.

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

redefines:

list representation of values in this set
(k container.set_of_hashable.K)
 => 
bool
[Redefinition of  container.Set.contains]
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
remove an element k from the set if it exists.
return the same set if it does not exist.
0.094dev (2025-07-10 15:41:47 GIT hash eafa42ae743de61b62f958948d7abb5fada7756f built by fridi@fzen)