-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib/{mnesia,stdlib}: replace random
functions by rand
functions
#9210
Conversation
CT Test Results 2 files 58 suites 19m 45s ⏱️ Results for commit 3c2fbb3. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts// Erlang/OTP Github Action Bot |
Hello; any news of the PR? |
Hi, this is incomplete, there are still usages of random module in this file, could you fix those as well? |
1eaa157
to
cb24fe0
Compare
There you are, @Mikaka27; I have addressed your feedback. |
Hi, this is still wrong, there is no rand:seed() function at all. You need to choose an algorithm, you can specify atom 'default' to the seed function. |
For me to understand your point; are we talking about The push force is for a rebase. |
cb24fe0
to
88d1635
Compare
My bad; this is |
Yes we need an argument, I think we can use 'default' atom there. |
* follows from commit 7bf573c * replacement is done everywhere, but in tests of `random` and `erl_lint`. Signed-off-by: Ariel Otilibili <[email protected]>
88d1635
to
3c2fbb3
Compare
Thanks for your contribution :) |
random:uniform/1
byrand:uniform/1
#9181)random
&erl_lint
.