-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
feat(stdlib): Add toIntegerRatio
and fromIntegerRatio
to Rational Library
#1746
Merged
phated
merged 7 commits into
grain-lang:main
from
spotandjake:spotandjake-rational-funcs
Apr 17, 2023
Merged
feat(stdlib): Add toIntegerRatio
and fromIntegerRatio
to Rational Library
#1746
phated
merged 7 commits into
grain-lang:main
from
spotandjake:spotandjake-rational-funcs
Apr 17, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spotandjake
requested review from
phated,
peblair,
marcusroberts and
jozanza
as code owners
March 12, 2023 22:13
spotandjake
changed the title
feat: Add
feat(stdlib): Add Mar 18, 2023
toIntegerRatio
and fromIntegerRatio
to Rational LibrarytoIntegerRatio
and fromIntegerRatio
to Rational Library
spotandjake
force-pushed
the
spotandjake-rational-funcs
branch
from
March 18, 2023 23:05
2a6e19f
to
f7c99ab
Compare
ospencer
reviewed
Mar 28, 2023
spotandjake
force-pushed
the
spotandjake-rational-funcs
branch
from
March 28, 2023 13:08
06ce1b2
to
d7d0e7f
Compare
ospencer
reviewed
Apr 8, 2023
phated
requested changes
Apr 15, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a few more changes.
spotandjake
force-pushed
the
spotandjake-rational-funcs
branch
from
April 16, 2023 21:27
380b5a9
to
36fd51a
Compare
Co-authored-by: Oscar Spencer <oscar.spen@gmail.com>
spotandjake
force-pushed
the
spotandjake-rational-funcs
branch
from
April 16, 2023 21:29
36fd51a
to
bfa8a45
Compare
phated
approved these changes
Apr 16, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent!
av8ta
pushed a commit
to av8ta/grain
that referenced
this pull request
Apr 18, 2023
… Library (grain-lang#1746) * feat: Add `toIntegerRatio` and `fromIntegerRatio` to Rational Library * chore: Throw an exeception on `fromIntegerRation` * chore: run formatter * chore: Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Oscar Spencer <oscar.spen@gmail.com> * chore: Regen docs * chore: Apply suggestions from code review --------- Co-authored-by: Oscar Spencer <oscar.spen@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds
toIntegerRation
andfromIntegerRation
, to therational
library.This doesnt close #1672, but it adds a few of the functions for it.