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.this.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 (2025-10-09 18:01:25 GIT hash 4826e516431c193e428991dd546a46472973d8d4 built by fridi@fzen)