protocol
List of numbers protocol.
Paulo Moura
1.1
2007/4/20
static
(no dependencies on other files)
Calculates the product of all list values.
static
product(List, Product)
product(+list(number), ?number) – zero_or_one
Calculates the sum of all list values.
static
sum(List, Sum)
sum(+list(number), ?number) – zero_or_one
Calculates the average of a list of values.
static
average(List, Average)
average(+list(number), ?float) – zero_or_one
(none)
(none)