From b3c9265e0c6ff0e86d1c6a6084b885b5b7944cbe Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Fri, 16 Jun 2017 10:33:02 +0200 Subject: stdlib: Correct lists(3) regarding filtermap/2 See also ERL-402, https://bugs.erlang.org/browse/ERL-402. --- lib/stdlib/doc/src/lists.xml | 4 ++-- 1 file 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 @@
- 19962016 + 19962017 Ericsson AB. All Rights Reserved. @@ -187,7 +187,7 @@

Calls Fun(Elem) on successive elements Elem of List1. - Fun/2 must return either a Boolean or a tuple + Fun/1 must return either a Boolean or a tuple {true, Value}. The function returns the list of elements for which Fun returns a new value, where a value of true is synonymous with -- cgit v1.2.3