diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-03-04 22:11:47 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-03-04 22:15:46 +0100 |
commit | 694f01db2d2e1cde06ee243a5909d196e84f0a18 (patch) | |
tree | 849deb3500ac202843ef429895976535a87ebcf5 /lib | |
parent | 97fcb33ac2a148ecb315935bf4d430e44e1ea6f9 (diff) |
intersect -> intersectLists, subtract -> subtractLists
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lists.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lists.nix b/lib/lists.nix index 540f8c40760f..fa8cbddfd943 100644 --- a/lib/lists.nix +++ b/lib/lists.nix @@ -234,8 +234,8 @@ rec { in [x] ++ remove x xs; # Intersects list 'e' and another list - intersect = e: filter (x: elem x e); + intersectLists = e: filter (x: elem x e); # Subtracts list 'e' from another list - subtract = e: filter (x: !(elem x e)); + subtractLists = e: filter (x: !(elem x e)); } |