Nim lacks find with start, stop param
Note:
functions in this module assume start..<stop in valid range. (a.k.a. it's caller's responsibility to check 0 <= start <= stop < s.len)
Procs
proc findWithoutMem[A, B](key: typedesc; self: openArray[A]; sub: openArray[B]; start = 0; stop = self.len): int
- Source Edit
Iterators
iterator findAllWithoutMem[A, B](key: typedesc; self: openArray[A]; sub: openArray[B]; start = 0; stop = self.len): int
- Source Edit