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

monoid

unit.type.monoid

Monoid that can be used whenever a monoid of the unit type is expected.
This is the case for example in some calls to `fold`-like features.

Since there is exactly one value of type unit, the operation, the equality
and the identity element of this monoid are canonically defined.
0.094dev (2025-07-10 15:41:47 GIT hash eafa42ae743de61b62f958948d7abb5fada7756f built by fridi@fzen)