`iterator`s are statically dispatched so you need to change the type inside of 
your typecheck branch and call the corresponding iterators. The only builtin 
dynamic dispatch Nim has is `method`.

Reply via email to