summaryrefslogtreecommitdiffstats
path: root/pkgs/lib
diff options
context:
space:
mode:
authorSander van der Burg <s.vanderburg@tudelft.nl>2010-08-02 16:48:19 +0000
committerSander van der Burg <s.vanderburg@tudelft.nl>2010-08-02 16:48:19 +0000
commit1e9dc2b2543084a8d2950c9a2d62edfb1a1ff516 (patch)
tree3624e2360b7308d1db58de253706769ef46e066a /pkgs/lib
parentd17f0f9cbca38fabb71624f069cd4c0d6feace92 (diff)
It seems that lib.zip is already taken from attributesets, therefore renaming it to zipTwoLists
svn path=/nixpkgs/trunk/; revision=22887
Diffstat (limited to 'pkgs/lib')
-rw-r--r--pkgs/lib/lists.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/lib/lists.nix b/pkgs/lib/lists.nix
index e279d6a80f47..36fa236304da 100644
--- a/pkgs/lib/lists.nix
+++ b/pkgs/lib/lists.nix
@@ -178,9 +178,9 @@ rec {
loop list;
# Zip two lists together.
- zip = xs: ys:
+ zipTwoLists = xs: ys:
if xs != [] && ys != [] then
[ {first = head xs; second = head ys;} ]
- ++ zip (tail xs) (tail ys)
+ ++ zipTwoLists (tail xs) (tail ys)
else [];
}