Document deepSeq
This commit is contained in:
parent
ed87cc2e4e
commit
0d1b60d206
@ -27,6 +27,8 @@ rec {
|
|||||||
# evaluation of its first argument.
|
# evaluation of its first argument.
|
||||||
seq = x: y: if x == null then y else y;
|
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:
|
deepSeq = x: y:
|
||||||
if builtins.isList x
|
if builtins.isList x
|
||||||
then deepSeqList x y
|
then deepSeqList x y
|
||||||
|
Loading…
Reference in New Issue
Block a user