> Why should we absolutely add methods with unclear meanings or behavior, when > there are already perfectly clear, if verbose, alternatives? > seq.generate().next() may not be nice, but no one can get fooled by it.
Well, for one thing, because it doesn't work. You can't call a mutating method directly on a return value without assigning it to a variable first. And put simply, a temporary variable seems a bridge too far to me. -- Brent Royal-Gordon Architechies _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
