Fix missing .len
This commit is contained in:
parent
045db2abec
commit
268af8007f
2 changed files with 2 additions and 2 deletions
2
mul.nim
2
mul.nim
|
|
@ -2,7 +2,7 @@ import cligen, sequtils
|
|||
import common
|
||||
|
||||
proc main(integers:seq[int]) =
|
||||
if integers > 0:
|
||||
if integers.len > 0:
|
||||
echo integers.foldl(a * b)
|
||||
|
||||
dispatch(main, version=("version", nimbaseVersion))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue