Utils/sequtils2

Source   Edit  

called sequtils2 as having more apis over ./sequtils

Procs

proc rfind[A, B](key: typedesc; s: openArray[A]; sub: openArray[B]; start = 0;
                 stop = s.len): int
assert start..<stop in range of 0..<s.len Source   Edit  
proc rfind[A; B: not string and not seq](key: typedesc; s: openArray[A]; sub: B;
    start = 0; stop = s.len): int
Source   Edit  
proc rfind[T](s: openArray[T]; sub: openArray[T]; start = 0; stop = s.len): int
Source   Edit  
proc rfind[T](s: openArray[T]; sub: T; start = 0; stop = s.len): int
Source   Edit