note that unionOfDisjoint
is commutative, unlike //
This commit is contained in:
parent
e7bafc814c
commit
99da193877
1 changed files with 2 additions and 1 deletions
|
@ -624,7 +624,8 @@ rec {
|
|||
|
||||
/* `unionOfDisjoint x y` is equal to `x // y // z` where the
|
||||
attrnames in `z` are the intersection of the attrnames in `x` and
|
||||
`y`, and all values `assert` with an error message */
|
||||
`y`, and all values `assert` with an error message. This
|
||||
operator is commutative, unlike (//). */
|
||||
unionOfDisjoint = x: y:
|
||||
x // (mapAttrs
|
||||
(name: val:
|
||||
|
|
Loading…
Reference in a new issue