Remove lib.deepSeqList and lib.deepSeqAttrs
Both functions are broken and unused in the repo.
This commit is contained in:
parent
a75eb513c6
commit
a086858ef5
@ -364,5 +364,5 @@ rec {
|
||||
overrideExisting = old: new:
|
||||
old // listToAttrs (map (attr: nameValuePair attr (attrByPath [attr] old.${attr} new)) (attrNames old));
|
||||
|
||||
deepSeqAttrs = x: y: deepSeqList (attrValues x) y;
|
||||
deepSeqAttrs = throw "removed 2016-02-29 because unused and broken";
|
||||
}
|
||||
|
@ -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";
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user