Allows user to calculate the right, left, midpoint or trapezoid riemann sum for any function, algebraic or transcendental functions.
This is a library to define sum type constructors and open values by matching against different constructors. The package will help you to write more readable, robust, and expressive Javascript code.