Skip to content

Added random_int to Core__Math #156

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

Merged
merged 6 commits into from
Oct 27, 2023
Merged

Conversation

adhi-27
Copy link

@adhi-27 adhi-27 commented Oct 19, 2023

No description provided.

@DZakh
Copy link
Member

DZakh commented Oct 19, 2023

Hi, it should be added to the module as random and floor functions (without _int postfix)

https://github.com/rescript-association/rescript-core/blob/106a882283806ec130e37a1a8781f0b0c41578e5/src/Core__Math.res#L12

@zth
Copy link
Collaborator

zth commented Oct 20, 2023

Looking good! We'll need docstrings and tests for this too.

@adhi-27
Copy link
Author

adhi-27 commented Oct 23, 2023

Looking good! We'll need docstrings and tests for this too.

Added docstrings and tests

Copy link
Collaborator

@zth zth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff, thank you! Mind adding a changelog too?

@adhi-27
Copy link
Author

adhi-27 commented Oct 26, 2023

Great stuff, thank you! Mind adding a changelog too?

Added the changelog

@zth
Copy link
Collaborator

zth commented Oct 26, 2023

@adhi-27 I think the changelog entries ended up in the wrong place. They should be directly under the "main" entry at the top. Looks like there are no current entries there, so you'll also need to add the sub headlines (Documentation etc).

@zth zth merged commit 9584dc6 into rescript-lang:main Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants