First of all, I apologise for resurrecting a 4 year old thread. @britto
Thank you for documenting your approach and how you succeeded with it. Indeed, your solution works still in 2020. It even works when using the Table[seq[int], seq[int]] as the result type of a proc. The only downside is, that the table has to be initialised manually, or at least I didn't see a way of using the implicit initialisation with this method you described. Taken from [https://nim-lang.org/docs/tables.html#initTable](https://nim-lang.org/docs/tables.html#initTable): > Starting from Nim v0.20, tables are initialized by default and it is not > necessary to call this function explicitly.