0001    /// :nodoc:
0002    public struct SpecEnumerateGen
Enumerate.swift:16
  public func generate() -> SpecEnumerateGen<Base> {
Enumerate.swift:17
    return SpecEnumerateGen(base: col, i: col.startIndex)
<Base
Enumerate.swift:4
  private let base: Base
Enumerate.swift:5
  private var i: Base.Index
Enumerate.swift:7
  public mutating func next() -> (Base.Index, Base.Generator.Element)? {
Enumerate.swift:7
  public mutating func next() -> (Base.Index, Base.Generator.Element)? {
: CollectionType> : GeneratorType { 0003 0004 private let base
Enumerate.swift:8
    return i == base.endIndex ? nil : (i, base[i++])
Enumerate.swift:8
    return i == base.endIndex ? nil : (i, base[i++])
: Base 0005 private var i
Enumerate.swift:8
    return i == base.endIndex ? nil : (i, base[i++])
Enumerate.swift:8
    return i == base.endIndex ? nil : (i, base[i++])
Enumerate.swift:8
    return i == base.endIndex ? nil : (i, base[i++])
: Base.Index 0006 /// :nodoc: 0007 public mutating func next() -> (Base.Index, Base.Generator.Element)? { 0008 return i == base.endIndex ? nil : (i, base[i++]) 0009 } 0010 } 0011 /// :nodoc: 0012 public struct SpecEnumerateSeq
Enumerate.swift:28
  func specEnumerate() -> SpecEnumerateSeq<Self> {
Enumerate.swift:29
    return SpecEnumerateSeq(col: self)
<Base
Enumerate.swift:14
  private let col: Base
Enumerate.swift:16
  public func generate() -> SpecEnumerateGen<Base> {
: CollectionType> : SequenceType { 0013 0014 private let col
Enumerate.swift:17
    return SpecEnumerateGen(base: col, i: col.startIndex)
Enumerate.swift:17
    return SpecEnumerateGen(base: col, i: col.startIndex)
: Base 0015 /// :nodoc: 0016 public func generate() -> SpecEnumerateGen<Base> { 0017 return SpecEnumerateGen(base: col, i: col.startIndex) 0018 } 0019 } 0020 0021 public extension CollectionType { 0022 0023 /// Returns a lazy generator of tuples `(i, e)` where `i` is successive indices of self, 0024 /// and `e` is the respective elements. Effectively the same as `.enumerate()`, but the 0025 /// indices returned are `Self.Index`s, rather than `Int`s 0026 /// - SeeAlso: `enumerate()` 0027 @warn_unused_result 0028 func specEnumerate() -> SpecEnumerateSeq<Self> { 0029 return SpecEnumerateSeq(col: self) 0030 } 0031 } 0032 0033 0034