definition: |
zip3 :: [a] -> [b] -> [c] -> [(a, b, c)] zip3 [] _ _ = [] zip3 (_:_) [] _ = [] zip3 (_:_) (_:_) [] = [] zip3 (x:xs) (y:ys) (z:zs) = (x, y, z) : zip3 xs ys zs |
demand: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
Joins three lists into one list of triples. If one input list is shorter than the other, the additional elements of the longer lists are discarded. |
failfree: |
(_, _, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{({[]},_,_) |-> {[]} || ({:},{[]},_) |-> {[]} || ({:},{:},{[]}) |-> {[]} || ({:},{:},{:}) |-> {:}} |
name: |
zip3 |
precedence: |
no precedence defined |
result-values: |
{:,[]} |
signature: |
[a] -> [b] -> [c] -> [(a, b, c)] |
solution-complete: |
operationally complete operation |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |