Remove the space between `]` and `(`: `initTable[int, (HashSet[T2int], DigSet, int)]()`
But this will continue to bite you in the future because of your sloppy writing style when it comes to whitespace: you have it in places where you shouldn't, you don't have it where it would be nice to have, and Nim encourages/enforces you to care about that stuff. Also, I would encourage you (again; as I already told you the same on IRC/Gitter) to read some style guides when it comes to naming your variables, etc.