Integral -package:aeson-optics -package:optics-core -package:lens-aeson -package:hedgehog package:Yampa
Integration using the rectangle rule.
"Immediate" integration (using the function's value at the current
time).
Integrate the first input signal and add the discrete
accumulation (sum) of the second, discrete, input signal.
Loop by integrating the second value in the pair and feeding the
result back. Because the integral at time 0 is zero, this is always
well defined.
Trapezoid integral (using the average between the value at the last
time and the value at the current time).