forked from mirrors/nixpkgs
Document deepSeq
This commit is contained in:
parent
ed87cc2e4e
commit
0d1b60d206
|
@ -27,6 +27,8 @@ rec {
|
|||
# evaluation of its first argument.
|
||||
seq = x: y: if x == null then y else y;
|
||||
|
||||
# Like `seq', but recurses into lists and attribute sets to force evaluation
|
||||
# of all list elements/attributes.
|
||||
deepSeq = x: y:
|
||||
if builtins.isList x
|
||||
then deepSeqList x y
|
||||
|
|
Loading…
Reference in a new issue