itemsoverload for closure iterators though
wrapthat wraps an iterator into a closure iterator and use that instead
rangeyou can do it just ifne with regular iterators - https://play.nim-lang.org/#ix=2F5t
rangeis an identifier name for a type from system, so you might want to use different name. That is, for python-like 'range'
rangeis a class actually (I thought it is some kind of magic built-in) with
indexindex defined, so example above should be pretty similar both from use-case standpoint and implementation (object (or object-like thing in case of
iterator(): int) with some special magic going on inside).
proc initSet[A](): set[A] = discardthing
std/system, probably makes sense to add
nnkCall, nnkIdent, nnkSym- @HJarausch_gitlab you can only use identifier or call in