From cc0d70b967d7c1cb205a26a63b898203eeda10e9 Mon Sep 17 00:00:00 2001 From: jfw7 Date: Thu, 6 Dec 2018 10:34:03 -0500 Subject: Fix sorting in lists.xml `search/2` was sorted incorrectly. --- lib/stdlib/doc/src/lists.xml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'lib/stdlib/doc') diff --git a/lib/stdlib/doc/src/lists.xml b/lib/stdlib/doc/src/lists.xml index 66146e9258..2755fb3dce 100644 --- a/lib/stdlib/doc/src/lists.xml +++ b/lib/stdlib/doc/src/lists.xml @@ -4,7 +4,7 @@
- 19962018 + 19962019 Ericsson AB. All Rights Reserved. @@ -688,6 +688,18 @@ c + + + Find the first element that satisfies a predicate. + +

If there is a Value in List + such that Pred(Value) returns + true, returns {value, Value} + for the first such Value, + otherwise returns false.

+
+
+ @@ -770,18 +782,6 @@ length(lists:seq(From, To, Incr)) =:= (To - From + Incr) div Incr - - - Find the first element that satisfies a predicate. - -

If there is a Value in List - such that Pred(Value) returns - true, returns {value, Value} - for the first such Value, - otherwise returns false.

-
-
- Split a list into two lists based on a predicate. -- cgit v1.2.3