Is this possible? Default iterator fields.
oh sweet! even easier. Much appreciated
Is this possible? Default iterator fields.
nvm - i wasn't using the iterator items* iterator items*(f: Family): Person = var i = 0 while i < f.members.len: yield f.members[i] inc i Run
Is this possible? Default iterator fields.
So, I used nim back before v1, so it has been awhile. I recently started looking at it again now that it has matured a lot. running through my default language learning program, I ran into this question: Background I have two objects: 1. person object 2. family object type