ZVON > References > Haskell reference |
Intro / Search / ZVON |
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random |
Module: | Prelude |
---|---|
Function: | product |
Type: | Num a => [a] -> a |
Description: | computes a product of all elements in the list |
Related: | (*) |
Keywords: | list calculation, multiplication |
Input: product [1,2,3,4]
Output: 24