Sums and products from lists #
This file provides basic definitions for List.prod
, List.sum
,
which calculate the product and sum of elements of a list
and List.alternatingProd
, List.alternatingSum
, their alternating counterparts.
This file provides basic definitions for List.prod
, List.sum
,
which calculate the product and sum of elements of a list
and List.alternatingProd
, List.alternatingSum
, their alternating counterparts.