diff options
author | Hans Bolinder <[email protected]> | 2017-06-16 10:33:02 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-06-22 09:37:30 +0200 |
commit | b3c9265e0c6ff0e86d1c6a6084b885b5b7944cbe (patch) | |
tree | d718130646cd339e27184f72f81f0abaa4633447 | |
parent | 040bdce67f88d833bfb59adae130a4ffb4c180f0 (diff) | |
download | otp-b3c9265e0c6ff0e86d1c6a6084b885b5b7944cbe.tar.gz otp-b3c9265e0c6ff0e86d1c6a6084b885b5b7944cbe.tar.bz2 otp-b3c9265e0c6ff0e86d1c6a6084b885b5b7944cbe.zip |
stdlib: Correct lists(3) regarding filtermap/2
See also ERL-402, https://bugs.erlang.org/browse/ERL-402.
-rw-r--r-- | lib/stdlib/doc/src/lists.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/doc/src/lists.xml b/lib/stdlib/doc/src/lists.xml index 60dbae70c2..7efafedc82 100644 --- a/lib/stdlib/doc/src/lists.xml +++ b/lib/stdlib/doc/src/lists.xml @@ -4,7 +4,7 @@ <erlref> <header> <copyright> - <year>1996</year><year>2016</year> + <year>1996</year><year>2017</year> <holder>Ericsson AB. All Rights Reserved.</holder> </copyright> <legalnotice> @@ -187,7 +187,7 @@ <desc> <p>Calls <c><anno>Fun</anno>(<anno>Elem</anno>)</c> on successive elements <c>Elem</c> of <c><anno>List1</anno></c>. - <c><anno>Fun</anno>/2</c> must return either a Boolean or a tuple + <c><anno>Fun</anno>/1</c> must return either a Boolean or a tuple <c>{true, <anno>Value</anno>}</c>. The function returns the list of elements for which <c><anno>Fun</anno></c> returns a new value, where a value of <c>true</c> is synonymous with |