1
0
Fork 1
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:
Peter Simons 2019-09-11 19:53:44 +02:00
parent 3ec8bc5ef2
commit c82b347947

View file

@ -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";}]