1
1
mirror of https://github.com/github/semantic.git synced 2024-12-11 08:45:48 +03:00
semantic/prototype/Doubt/RangeReplaceableCollectionType.swift

6 lines
140 B
Swift
Raw Normal View History

extension RangeReplaceableCollectionType {
static func cons(head: Generator.Element, _ tail: Self) -> Self {
return [ head ] + tail
2015-07-18 22:43:49 +03:00
}
}