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

sum

🌌numerics.sum

monoid of numeric with infix + operation. Will create sum of all elements it
is applied to.


redefines Monoid.e:
identity element

§  infix ==(a T, b T)
 => 
bool
:
Object


redefines Monoid.infix ==:
equality operation

§  infix ∙(a T, b T)
 => 
T
:
Object


redefines Monoid.infix ∙:
associative operation