Araq/Nimrod — Issue #92: iterator pairs() for array/seq
Author: Tass
Created: 2012-01-19 14:03:21+00:00
State: open

It should `yield(index, value)`.
An example:

type TKorpus = enum k1600_1650, k1650_1700, k1700_1750, k1750_1800, k1800_1850, k1850_1900, k1900_2010
var korpi: array[TKorpus, PLanguageModel]
for name, model in korpi:
echo name