Treatment add
std/ops/num::add
Generics
◻ N:
Add
Inputs
⇥ a:
Stream<N>
⇥ b:
Stream<N>
Outputs
↦ sum:
Stream<N>
Add values from two streams.
Values passed through a
& b
are added and send in sum
.
This treatment is infaillible but output may overflow if a + b
is out of bounds for the data type.