aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/random.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-12-04 12:04:12 +0100
committerBjörn Gustavsson <[email protected]>2015-12-14 15:44:42 +0100
commit61fd09aaef2474cd74ddbc465e9d1dfd879a4ab5 (patch)
tree7bb6dd7c04d573e8bf25c3256272b164644fe066 /lib/stdlib/src/random.erl
parent41d147339c65d2b6dfcf60c1e63482612774bede (diff)
downloadotp-61fd09aaef2474cd74ddbc465e9d1dfd879a4ab5.tar.gz
otp-61fd09aaef2474cd74ddbc465e9d1dfd879a4ab5.tar.bz2
otp-61fd09aaef2474cd74ddbc465e9d1dfd879a4ab5.zip
Deprecate the 'random' module
The 'rand' module was introduced in OTP 18 and its use is discouraged. Deprecate it to further discourage its use.
Diffstat (limited to 'lib/stdlib/src/random.erl')
-rw-r--r--lib/stdlib/src/random.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/src/random.erl b/lib/stdlib/src/random.erl
index 8b67cde56c..8b639dd0a7 100644
--- a/lib/stdlib/src/random.erl
+++ b/lib/stdlib/src/random.erl
@@ -18,6 +18,7 @@
%% %CopyrightEnd%
%%
-module(random).
+-deprecated(module).
%% Reasonable random number generator.
%% The method is attributed to B. A. Wichmann and I. D. Hill