add release notes
This commit is contained in:
parent
210c57883e
commit
29ba0a0adf
@ -387,6 +387,18 @@
|
|||||||
installer after creating <literal>/var/lib/nextcloud</literal>.
|
installer after creating <literal>/var/lib/nextcloud</literal>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
There exists now <literal>lib.forEach</literal>, which is like <literal>map</literal>, but with
|
||||||
|
arguments flipped. When mapping function body spans many lines (or has nested
|
||||||
|
<literal>map</literal>s), it is often hard to follow which list is modified.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Previous solution to this problem was either to use <literal>lib.flip map</literal>
|
||||||
|
idiom or extract that anonymous mapping function to a named one. Both can still be used
|
||||||
|
but <literal>lib.forEach</literal> is preferred over <literal>lib.flip map</literal>.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user