doc: builtins.attrNames returns alphabetically sorted list

This commit is contained in:
Domen Kožar 2017-05-10 11:23:04 +02:00
parent 03ae5e6459
commit 82a9c93c7f
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246

View file

@ -65,7 +65,7 @@ available as <function>builtins.derivation</function>.</para>
<replaceable>set</replaceable></term>
<listitem><para>Return the names of the attributes in the set
<replaceable>set</replaceable> in a sorted list. For instance,
<replaceable>set</replaceable> in alphabetically sorted list. For instance,
<literal>builtins.attrNames { y = 1; x = "foo"; }</literal>
evaluates to <literal>[ "x" "y" ]</literal>.</para></listitem>