3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #105494 from alunduil/missing-operator-mapAttr-doc

This commit is contained in:
Doron Behar 2021-08-07 17:14:41 +00:00 committed by GitHub
commit d74960e8db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -772,7 +772,7 @@ nameValuePair "some" 6
<title>Modifying each value of an attribute set</title>
<programlisting><![CDATA[
lib.attrsets.mapAttrs
(name: value: name + "-" value)
(name: value: name + "-" + value)
{ x = "foo"; y = "bar"; }
=> { x = "x-foo"; y = "y-bar"; }
]]></programlisting>