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 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-08-15 12:02:22 GIT hash 301b5b75e77076d091b38f555473f9f0e31e5b5c built by fridi@fzen)