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: | List |
---|---|
Function: | zipWith5 |
Type: | (a -> b -> c -> d -> e -> f) -> [a] -> [b] -> [c] -> [d] -> [e] -> [f] |
Description: | makes a list, its elements are calculated from the function and the elements of input lists occuring at the same position in all lists |
Related: | unzip4, unzip5, unzip6, unzip7, zip4, zip5, zip6, zip7, zipWith4, zipWith6, zipWith7 |
Input: zipWith5 (\a b c d e -> e*(a*b + c*d)) [1,2,3,4] [1,2,3] [3,2,1,0] [0,1,2] [6,3,-3]
Output: [6,18,-33]