forked from mirrors/nixpkgs
Merge pull request #105494 from alunduil/missing-operator-mapAttr-doc
This commit is contained in:
commit
d74960e8db
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue