mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
lib: fix typo in 'zipAttrsWith' documentation
This commit is contained in:
parent
3ec8bc5ef2
commit
c82b347947
|
@ -354,7 +354,7 @@ rec {
|
||||||
=> { a = ["x" "y"]; b = ["z"] }
|
=> { a = ["x" "y"]; b = ["z"] }
|
||||||
*/
|
*/
|
||||||
zipAttrsWith = f: sets: zipAttrsWithNames (concatMap attrNames sets) f sets;
|
zipAttrsWith = f: sets: zipAttrsWithNames (concatMap attrNames sets) f sets;
|
||||||
/* Like `zipAttrsWith' with `(name: values: value)' as the function.
|
/* Like `zipAttrsWith' with `(name: values: values)' as the function.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
zipAttrs [{a = "x";} {a = "y"; b = "z";}]
|
zipAttrs [{a = "x";} {a = "y"; b = "z";}]
|
||||||
|
|
Loading…
Reference in a new issue