These are trivial functions and should be inlined away; the only tricky bit is they need to be defined after the iterator type. This gives a slight speedup of stdlib compilation time (about 5% of the time spent generating the swiftmodule).