-
-
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 **
(pow) operator to Pervasives module
#1690
feat(stdlib)!: Add **
(pow) operator to Pervasives module
#1690
Conversation
5a3a5cb
to
23b043e
Compare
**
(pow) operator to Pervasives module
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 work @spotandjake 🎉
stdlib/pervasives.md
Outdated
@@ -482,6 +482,39 @@ Returns: | |||
|----|-----------| | |||
|`Number`|The modulus of its operands| | |||
|
|||
### Pervasives.**(**)** |
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.
This shouldn't be your fault, but this doesn't seem to be escaped correctly. Not sure what is happening.
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.
I've merged in main to see if the graindoc is out of date.
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.
I specifically rebuilt the compiler and regen'd the docs before pushing the last region commit so that probably isn't the case.
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.
You are correct. Markdown.bold
wasn't being used in all the cases where we were bolding things 🤦
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.
Fixed in main since #1695 landed
Regenerated the docs, your fix looks to have worked now. |
…ng#1690) * feat!: Move `Number.Pow` To Runtime and add operator to pervasives * chore: Regen Docs * chore: Regen Tests * chore: Update Grain Doc * chore: Regen Docs --------- Co-authored-by: Blaine Bublitz <blaine.bublitz@gmail.com>
This pr moves power to the runtime and adds pervasives as an operator. I didnt see anywhere to test the operator or functions in the runtime but power is well tested in the number test suite.
As I noted in discord I decided to just remake this pr as all the tests changed there were a ton of merge of conflicts and this made things easier. Replaces: #1538
Closes: #1476