From b66e75c285cba469c5225f3394da149456d17d16 Mon Sep 17 00:00:00 2001
From: Hans Bolinder
Date: Mon, 3 Feb 2014 10:27:39 +0100
Subject: Deprecate pre-defined built-in types
The types array(), dict(), digraph(), gb_set(), gb_tree(), queue(),
set(), and tid() have been deprecated. They will be removed in OTP 18.0.
Instead the types array:array(), dict:dict(), digraph:graph(),
gb_set:set(), gb_tree:tree(), queue:queue(), sets:set(), and ets:tid()
can be used. (Note: it has always been necessary to use ets:tid().)
It is allowed in OTP 17.0 to locally re-define the types array(), dict(),
and so on.
New types array:array/1, dict:dict/2, gb_sets:set/1, gb_trees:tree/2,
queue:queue/1, and sets:set/1 have been added.
---
lib/stdlib/doc/src/array.xml | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
(limited to 'lib/stdlib/doc/src/array.xml')
diff --git a/lib/stdlib/doc/src/array.xml b/lib/stdlib/doc/src/array.xml
index b0b3aa6dc1..b03a2fa0cc 100644
--- a/lib/stdlib/doc/src/array.xml
+++ b/lib/stdlib/doc/src/array.xml
@@ -3,7 +3,7 @@
- 20072013
+ 20072014
Ericsson AB. All Rights Reserved.
@@ -84,13 +84,19 @@ the default value cannot be confused with the values of set entries.
{'EXIT',{badarg,_}} = (catch array:get(18, A3)).
- array()
+
A functional, extendible array. The representation is
not documented and is subject to change without notice. Note that
arrays cannot be directly compared for equality.
+
+
+
+ array() is equivalent to array(term()).
+
+
@@ -189,7 +195,7 @@ the default value cannot be confused with the values of set entries.
-Convert an ordered list of pairs {Index, Value} to a
+
Convert an ordered list of pairs {Index, Value} to a
corresponding extendible array. Default is used as the value for
uninitialized entries of the array. If Orddict is not a proper,
ordered list of pairs whose first elements are nonnegative
@@ -455,7 +461,7 @@ cannot be changed once the array has been created.
-Convert the array to an ordered list of pairs {Index, Value},
+
Convert the array to an ordered list of pairs {Index, Value},
skipping default-valued entries.
See also: to_orddict/1.
@@ -476,7 +482,7 @@ cannot be changed once the array has been created.
-Convert the array to an ordered list of pairs {Index, Value}.
+
Convert the array to an ordered list of pairs {Index, Value}.
See also: from_orddict/2, sparse_to_orddict/1.
--
cgit v1.2.3