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: zip5
Type: [a] -> [b] -> [c] -> [d] -> [e] -> [(a,b,c,d,e)]
Description: makes a list of tuples, each tuple containing elements of all five lists occuring at the same position
Related: unzip4, unzip5, unzip6, unzip7, zip4, zip6, zip7, zipWith4, zipWith5, zipWith6, zipWith7

Example 1

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

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