Skip to content

Commit

Permalink
Merge branch 'function-types-in-ast' into list-methods
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasWanke committed Dec 8, 2024
2 parents 223caa4 + 04933f8 commit 3553c9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages_v5/example.candy
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ fun remainder(dividend: Int, divisor: Int) Int {
fun modulo(dividend: Int, divisor: Int) Int {
# Returns `dividend` % `divisor`.
#
# The result of a modulo operation is the smallest possible number $x$ such
# that there exists a $y$ with $dividend = y * divisor + x$.
# The result of a modulo operation is the smallest non-negative number $x$
# such that there exists a $y$ with $dividend = y * divisor + x$.
#
# | `dividend` | `divisor` | `dividend.modulo(divisor)` |
# |-----------:|----------:|---------------------------:|
Expand Down

0 comments on commit 3553c9a

Please sign in to comment.