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

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 K)
 => 
container.Set 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 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.095dev (GIT hash 09dff08de289bbb6f7136c7e2f8c66dcc1856bba)
last changed: 2026-04-16