From 20cc39d443d1a2c364b0fb778c7813ae7b5a1dd6 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Tue, 11 Dec 2018 17:42:39 +0100 Subject: Add "since" attributes in xml for new functions and modules introduced after OTP_R13B03. --- lib/stdlib/doc/src/lists.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/stdlib/doc/src/lists.xml') diff --git a/lib/stdlib/doc/src/lists.xml b/lib/stdlib/doc/src/lists.xml index e4215a5336..f126326b09 100644 --- a/lib/stdlib/doc/src/lists.xml +++ b/lib/stdlib/doc/src/lists.xml @@ -137,7 +137,7 @@ - + Drop the last element of a list.

Drops the last element of a List. The list is to @@ -182,7 +182,7 @@ - + Filter and map elements that satisfy a function.

Calls Fun(Elem) on successive @@ -297,7 +297,7 @@ flatmap(Fun, List1) -> - + Insert an element between elements in a list

Inserts Sep between each element in List1. Has no @@ -771,7 +771,7 @@ 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 -- cgit v1.2.3 From 50f64c60b87e8d03fedc3f9f4e655aff8ca9f16c Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Wed, 12 Dec 2018 19:32:24 +0100 Subject: Add empty 'since' attribute for old modules and functions --- lib/stdlib/doc/src/lists.xml | 140 +++++++++++++++++++++---------------------- 1 file changed, 70 insertions(+), 70 deletions(-) (limited to 'lib/stdlib/doc/src/lists.xml') diff --git a/lib/stdlib/doc/src/lists.xml b/lib/stdlib/doc/src/lists.xml index f126326b09..66146e9258 100644 --- a/lib/stdlib/doc/src/lists.xml +++ b/lib/stdlib/doc/src/lists.xml @@ -28,7 +28,7 @@ 1996-09-28 A - lists + lists List processing functions.

This module contains functions for list processing.

@@ -63,7 +63,7 @@ - + Return true if all elements in a list satisfy Pred. @@ -74,7 +74,7 @@ - + Return true if any of the elements in a list satisfies Pred. @@ -85,7 +85,7 @@ - + Append a list of lists.

Returns a list in which all the sublists of @@ -98,7 +98,7 @@ - + Append two lists.

Returns a new list List3, which is made from @@ -113,7 +113,7 @@ - + Concatenate a list of atoms.

Concatenates the text representation of the elements of @@ -127,7 +127,7 @@ - + Delete an element from a list.

Returns a copy of List1 where the first element @@ -147,7 +147,7 @@ - + Drop elements from a list while a predicate is true. @@ -159,7 +159,7 @@ - + Make N copies of element.

Returns a list containing N copies of term @@ -172,7 +172,7 @@ - + Select elements that satisfy a predicate.

List2 is a list of all elements @@ -211,7 +211,7 @@ filtermap(Fun, List1) -> - + Length of flattened deep list.

Equivalent to length(flatten(DeepList)), but @@ -220,7 +220,7 @@ filtermap(Fun, List1) -> - + Map and flatten in one pass.

Takes a function from As to lists of @@ -241,7 +241,7 @@ flatmap(Fun, List1) -> - + Flatten a deep list.

Returns a flattened version of DeepList.

@@ -249,7 +249,7 @@ flatmap(Fun, List1) ->
- + Flatten a deep list.

Returns a flattened version of DeepList with tail @@ -258,7 +258,7 @@ flatmap(Fun, List1) -> - + Fold a function over a list.

Calls Fun(Elem, AccIn) @@ -278,7 +278,7 @@ flatmap(Fun, List1) -> - + Fold a function over a list.

Like foldl/3, but the @@ -312,7 +312,7 @@ flatmap(Fun, List1) -> - + Apply a function to each element of a list.

Calls Fun(Elem) for each element @@ -324,7 +324,7 @@ flatmap(Fun, List1) -> - + Delete an element from a list of tuples. 1..tuple_size(Tuple) @@ -336,7 +336,7 @@ flatmap(Fun, List1) -> - + Search for an element in a list of tuples. 1..tuple_size(Tuple) @@ -349,7 +349,7 @@ flatmap(Fun, List1) -> - + Map a function over a list of tuples. 1..tuple_size(Tuple) @@ -368,7 +368,7 @@ flatmap(Fun, List1) -> - + Test for membership of a list of tuples. 1..tuple_size(Tuple) @@ -379,7 +379,7 @@ flatmap(Fun, List1) -> - + Merge two key-sorted lists of tuples. 1..tuple_size(Tuple) @@ -395,7 +395,7 @@ flatmap(Fun, List1) -> - + Replace an element in a list of tuples. 1..tuple_size(Tuple) @@ -407,7 +407,7 @@ flatmap(Fun, List1) -> - + Search for an element in a list of tuples. 1..tuple_size(Tuple) @@ -425,7 +425,7 @@ flatmap(Fun, List1) -> - + Sort a list of tuples. 1..tuple_size(Tuple) @@ -436,7 +436,7 @@ flatmap(Fun, List1) -> - + Store an element in a list of tuples. 1..tuple_size(Tuple) @@ -452,7 +452,7 @@ flatmap(Fun, List1) -> - + Extract an element from a list of tuples. 1..tuple_size(Tuple) @@ -467,7 +467,7 @@ flatmap(Fun, List1) -> - + Return last element in a list.

Returns the last element in List.

@@ -475,7 +475,7 @@ flatmap(Fun, List1) ->
- + Map a function over a list.

Takes a function from As to @@ -488,7 +488,7 @@ flatmap(Fun, List1) -> - + Map and fold in one pass.

Combines the operations of @@ -504,7 +504,7 @@ flatmap(Fun, List1) -> - + Map and fold in one pass.

Combines the operations of @@ -514,7 +514,7 @@ flatmap(Fun, List1) -> - + Return maximum element of a list.

Returns the first element of List that compares @@ -524,7 +524,7 @@ flatmap(Fun, List1) -> - + Test for membership of a list.

Returns true if Elem matches some element @@ -533,7 +533,7 @@ flatmap(Fun, List1) -> - + Merge a list of sorted lists.

Returns the sorted list formed by merging all the sublists of @@ -546,7 +546,7 @@ flatmap(Fun, List1) -> - + Merge two sorted lists.

Returns the sorted list formed by merging List1 @@ -559,7 +559,7 @@ flatmap(Fun, List1) -> - + Merge two sorted list.

Returns the sorted list formed by merging List1 @@ -577,7 +577,7 @@ flatmap(Fun, List1) -> - + Merge three sorted lists.

Returns the sorted list formed by merging List1, @@ -593,7 +593,7 @@ flatmap(Fun, List1) -> - + Return minimum element of a list.

Returns the first element of List that compares @@ -603,7 +603,7 @@ flatmap(Fun, List1) -> - + Return the Nth element of a list. 1..length(List) @@ -617,7 +617,7 @@ c - + Return the Nth tail of a list. 0..length(List) @@ -638,7 +638,7 @@ c - + Partition a list into two lists based on a predicate.

Partitions List into two lists, where the first @@ -658,7 +658,7 @@ c - + Test for list prefix.

Returns true if List1 is a prefix of @@ -667,7 +667,7 @@ c - + Reverse a list.

Returns a list with the elements in List1 @@ -676,7 +676,7 @@ c - + Reverse a list appending a tail.

Returns a list with the elements in List1 @@ -689,8 +689,8 @@ c - - + + Generate a sequence of integers.

Returns a sequence of integers that starts with @@ -736,7 +736,7 @@ length(lists:seq(From, To, Incr)) =:= (To - From + Incr) div Incr - + Sort a list.

Returns a list containing the sorted elements of @@ -745,7 +745,7 @@ length(lists:seq(From, To, Incr)) =:= (To - From + Incr) div Incr - + Sort a list.

Returns a list containing the sorted elements of @@ -759,7 +759,7 @@ length(lists:seq(From, To, Incr)) =:= (To - From + Incr) div Incr - + Split a list into two lists. 0..length(List1) @@ -783,7 +783,7 @@ length(lists:seq(From, To, Incr)) =:= (To - From + Incr) div Incr - + Split a list into two lists based on a predicate.

Partitions List into two lists according to @@ -804,7 +804,7 @@ splitwith(Pred, List) -> - + Return a sublist of a certain length, starting at the first position. @@ -816,7 +816,7 @@ splitwith(Pred, List) -> - + Return a sublist starting at a specified position and with a specified number of elements. 1..(length(List1)+1) @@ -838,7 +838,7 @@ splitwith(Pred, List) -> - + Subtract the element in one list from another list.

Returns a new list List3 that is a copy of @@ -854,7 +854,7 @@ splitwith(Pred, List) -> - + Test for list suffix.

Returns true if List1 is a suffix of @@ -863,7 +863,7 @@ splitwith(Pred, List) -> - + Return the sum of elements in a list.

Returns the sum of the elements in List.

@@ -871,7 +871,7 @@ splitwith(Pred, List) ->
- + Take elements from a list while a predicate is true. @@ -884,7 +884,7 @@ splitwith(Pred, List) -> - + Merge two key-sorted lists of tuples, removing duplicates. 1..tuple_size(Tuple) @@ -902,7 +902,7 @@ splitwith(Pred, List) -> - + Sort a list of tuples, removing duplicates. 1..tuple_size(Tuple) @@ -914,7 +914,7 @@ splitwith(Pred, List) -> - + Merge a list of sorted lists, removing duplicates.

Returns the sorted list formed by merging all the sublists @@ -927,7 +927,7 @@ splitwith(Pred, List) -> - + Merge two sorted lists, removing duplicates.

Returns the sorted list formed by merging List1 @@ -941,7 +941,7 @@ splitwith(Pred, List) -> - + Merge two sorted lists, removing duplicates.

Returns the sorted list formed by merging List1 @@ -958,7 +958,7 @@ splitwith(Pred, List) -> - + Merge three sorted lists, removing duplicates.

Returns the sorted list formed by merging List1, @@ -973,7 +973,7 @@ splitwith(Pred, List) -> - + Unzip a list of two-tuples into two lists.

"Unzips" a list of two-tuples into two lists, where the first @@ -983,7 +983,7 @@ splitwith(Pred, List) -> - + Unzip a list of three-tuples into three lists.

"Unzips" a list of three-tuples into three lists, where @@ -994,7 +994,7 @@ splitwith(Pred, List) -> - + Sort a list, removing duplicates.

Returns a list containing the sorted elements of @@ -1004,7 +1004,7 @@ splitwith(Pred, List) -> - + Sort a list, removing duplicates.

Returns a list containing the sorted elements of @@ -1019,7 +1019,7 @@ splitwith(Pred, List) -> - + Zip two lists into a list of two-tuples.

"Zips" two lists of equal length into one list of two-tuples, @@ -1030,7 +1030,7 @@ splitwith(Pred, List) -> - + Zip three lists into a list of three-tuples.

"Zips" three lists of equal length into one list of @@ -1042,7 +1042,7 @@ splitwith(Pred, List) -> - + Zip two lists into one list according to a fun.

Combines the elements of two lists of equal length into one list. @@ -1059,7 +1059,7 @@ splitwith(Pred, List) -> - + Zip three lists into one list according to a fun.

Combines the elements of three lists of equal length into one -- cgit v1.2.3