From 54b89c8750bed431275f1f376fb10ec7899ca335 Mon Sep 17 00:00:00 2001 From: Guilherme Andrade Date: Wed, 22 Mar 2017 21:50:20 +0000 Subject: fixup! Support cryptographically strong rand plugin Fix plugin alg type --- lib/stdlib/src/rand.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/stdlib') diff --git a/lib/stdlib/src/rand.erl b/lib/stdlib/src/rand.erl index 3ff7aaf15f..ddd22914e2 100644 --- a/lib/stdlib/src/rand.erl +++ b/lib/stdlib/src/rand.erl @@ -58,7 +58,7 @@ %% Algorithm state -type state() :: {alg_handler(), alg_seed()}. -type builtin_alg() :: exs64 | exsplus | exs1024. --type alg() :: builtin_alg() | term(). +-type alg() :: builtin_alg() | atom(). -type export_state() :: {alg(), alg_seed()}. -export_type([builtin_alg/0, alg/0, alg_handler/0, alg_seed/0, state/0, export_state/0]). -- cgit v1.2.3