ZVON > References > Haskell reference
| Indexes | Syntax | Prelude | Ratio | Complex | Numeric | Ix | Array | >> List << | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Module: List
Function: zip4
Type: [a] -> [b] -> [c] -> [d] -> [(a,b,c,d)]
Description: makes a list of tuples, each tuple containing elements of all four lists occuring at the same position
Related: unzip4, unzip5, unzip6, unzip7, zip5, zip6, zip7, zipWith4, zipWith5, zipWith6, zipWith7

Example 1

Input: zip4 [1,2,3,4] [10,11,12] [111,222,333] "abcdefghijkl"

Output: [(1,10,111,'a'),(2,11,222,'b'),(3,12,333,'c')]