Skip to content

Conversation

@mkantor
Copy link
Owner

@mkantor mkantor commented Apr 22, 2025

Modulus is currently only defined for natural numbers.

@mkantor mkantor changed the title Add modulus operation Add natural_number.modulus and % to prelude Apr 22, 2025
@mkantor
Copy link
Owner Author

mkantor commented Apr 23, 2025

D'oh; the operation is called modulo. Modulus refers to the right-hand operand. I'll rename and open a new pull request.

@mkantor mkantor closed this Apr 23, 2025
@mkantor mkantor deleted the modulus branch April 23, 2025 11:28
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.

2 participants