Skip to content

Commit 083ef56

Browse files
Add label to base argument of power_of_integer function
1 parent 58d200d commit 083ef56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/practice/rational-numbers/.meta/example.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pub fn reduce(r: RationalNumber) -> RationalNumber {
9191
}
9292
}
9393

94-
fn power_of_integer(base: Int, to exponent: Int) -> Result(Int, Nil) {
94+
fn power_of_integer(number base: Int, to exponent: Int) -> Result(Int, Nil) {
9595
try power = int.power(base, int.to_float(exponent))
9696

9797
Ok(float.round(power))

0 commit comments

Comments
 (0)