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: | zipWith4 |
Type: | (a -> b -> c -> d -> e) -> [a] -> [b] -> [c] -> [d] -> [e] |
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, zipWith5, zipWith6, zipWith7 |
Input: zipWith4 (\a b c d -> a*b + c*d) [1,2,3,4] [1,2,3] [3,2,1,0] [0,1,2]
Output: [1,6,11]