Types
OffsettedSeq[T] = object s*: seq[T] offset*: int
- Source Edit
Procs
proc `[]`[T](o: var OffsettedSeq[T]; index: int): var T
- Source Edit
proc add[T](o: var OffsettedSeq[T]; v: T)
- Source Edit
proc all[T](o: OffsettedSeq[T]; pred: proc (x: T): bool): bool
- Source Edit
proc any[T](o: OffsettedSeq[T]; pred: proc (x: T): bool): bool
- Source Edit
proc apply[T](o: OffsettedSeq[T]; op: proc (x: T))
- Source Edit
proc apply[T](o: OffsettedSeq[T]; op: proc (x: T): T)
- Source Edit
proc apply[T](o: OffsettedSeq[T]; op: proc (x: var T))
- Source Edit
func count[T](o: OffsettedSeq[T]; x: T): int
- Source Edit
proc flushIf[T](o: OffsettedSeq[T]; pred: proc (x: T): bool)
- Source Edit
proc high[T](o: OffsettedSeq[T]): int
- Source Edit
proc initOffsettedSeq[T](offset: int = 0): OffsettedSeq[T]
- Source Edit
proc low[T](o: OffsettedSeq[T]): int
- Source Edit
Iterators
iterator items[T](o: OffsettedSeq[T]): T
- Source Edit