Merge pull request #12 from amacias/gen_func

Small fix, no need for I since b is int
This commit is contained in:
Flaviu Tamas 2014-07-18 14:41:15 -04:00
commit 36e51b811d

View file

@ -75,7 +75,7 @@ let zero = ""
proc `+`(a, b: string): string =
a & b
proc `*`[T, I](a: T, b: int): T =
proc `*`[T](a: T, b: int): T =
result = zero
for i in 0..b:
result = result + a