I get this error on parseInt
type mismatch: got <string> but expected one of: proc parseInt(s: string; number: var int; start = 0): int
first type mismatch at position: 2 missing parameter: number
expression: parseInt(param)**
but the manual states that parseInt only has one argument: https://nim-lang.org/docs/strutils.html#parseInt%2Cstring
Yes, that may be a bit confusing, there are two parseInt() procs in stdlib.
You may go to https://nim-lang.github.io/Nim/lib.html
and type parseInt into the "search" field. Then you get
parseutils: parseInt(s: string; number: var int; start = 0): int
strutils: parseInt(s: string): int
You are using the module parseutils instead of strutils. See the parseutils docs.
How I found this was using the index and using ctrl-F.