This works: var counter = initCountTable[char]() for v in counter.values: echo v Run
Documentationation says `toSeq()` "transforms any iterator into a sequence" so I would except this to work: var counter = initCountTable[char]() echo toSeq(counter.values) Run Can someone explain why compilation fails with `Error: undeclared field: 'values'`