summary refs log tree commit diff
path: root/lib/lists.nix
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2016-02-29 20:20:31 +0000
committerzimbatm <zimbatm@zimbatm.com>2016-03-09 19:59:57 +0000
commita086858ef51eb564a378424b21f677428a34fc9e (patch)
tree7511c43e4064c1b542941cd1d72bbb25542230bb /lib/lists.nix
parenta75eb513c653b5fd70700607c89bb40ca5febb83 (diff)
downloadnixpkgs-a086858ef51eb564a378424b21f677428a34fc9e.tar
nixpkgs-a086858ef51eb564a378424b21f677428a34fc9e.tar.gz
nixpkgs-a086858ef51eb564a378424b21f677428a34fc9e.tar.bz2
nixpkgs-a086858ef51eb564a378424b21f677428a34fc9e.tar.lz
nixpkgs-a086858ef51eb564a378424b21f677428a34fc9e.tar.xz
nixpkgs-a086858ef51eb564a378424b21f677428a34fc9e.tar.zst
nixpkgs-a086858ef51eb564a378424b21f677428a34fc9e.zip
Remove lib.deepSeqList and lib.deepSeqAttrs
Both functions are broken and unused in the repo.
Diffstat (limited to 'lib/lists.nix')
-rw-r--r--lib/lists.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/lists.nix b/lib/lists.nix
index 3bcf366f0c2..9e4ab9e2d95 100644
--- a/lib/lists.nix
+++ b/lib/lists.nix
@@ -246,9 +246,6 @@ rec {
   init = list: assert list != []; take (length list - 1) list;
 
 
-  deepSeqList = xs: y: if any (x: deepSeq x false) xs then y else y;
-
-
   crossLists = f: foldl (fs: args: concatMap (f: map f args) fs) [f];
 
 
@@ -270,4 +267,7 @@ rec {
   # Subtracts list 'e' from another list. O(nm) complexity.
   subtractLists = e: filter (x: !(elem x e));
 
+  deepSeqList = throw "removed 2016-02-29 because unused and broken";
+
+
 }