Small fix, no need for I since b is int
This commit is contained in:
parent
21df1ad8c5
commit
0501f80fea
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ let zero = ""
|
||||||
proc `+`(a, b: string): string =
|
proc `+`(a, b: string): string =
|
||||||
a & b
|
a & b
|
||||||
|
|
||||||
proc `*`[T, I](a: T, b: int): T =
|
proc `*`[T](a: T, b: int): T =
|
||||||
result = zero
|
result = zero
|
||||||
for i in 0..b:
|
for i in 0..b:
|
||||||
result = result + a
|
result = result + a
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue