aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/queue.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-06-09 14:46:32 +0200
committerBjörn Gustavsson <[email protected]>2016-06-10 14:37:32 +0200
commit94e5eb708ee55a13b981dbb5b821a39832e2aa7c (patch)
treeea00eb76ba414a3a6bede9bfb5bae94768588bfb /lib/stdlib/src/queue.erl
parent75e5cdabbcaaa12f043225ca8d361055a9d47b24 (diff)
downloadotp-94e5eb708ee55a13b981dbb5b821a39832e2aa7c.tar.gz
otp-94e5eb708ee55a13b981dbb5b821a39832e2aa7c.tar.bz2
otp-94e5eb708ee55a13b981dbb5b821a39832e2aa7c.zip
Deprecate queue:lait/1
Diffstat (limited to 'lib/stdlib/src/queue.erl')
-rw-r--r--lib/stdlib/src/queue.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/stdlib/src/queue.erl b/lib/stdlib/src/queue.erl
index d4d1904886..11c0aa8d2b 100644
--- a/lib/stdlib/src/queue.erl
+++ b/lib/stdlib/src/queue.erl
@@ -31,10 +31,14 @@
%% Okasaki API from klacke
-export([cons/2,head/1,tail/1,
- snoc/2,last/1,daeh/1,init/1,liat/1,lait/1]).
+ snoc/2,last/1,daeh/1,init/1,liat/1]).
-export_type([queue/0, queue/1]).
+%% Mis-spelled, deprecated.
+-export([lait/1]).
+-deprecated([lait/1]).
+
%%--------------------------------------------------------------------------
%% Efficient implementation of double ended fifo queues
%%