mirror of
https://github.com/github/semantic.git
synced 2024-12-01 09:15:01 +03:00
6 lines
140 B
Swift
6 lines
140 B
Swift
extension RangeReplaceableCollectionType {
|
|
static func cons(head: Generator.Element, _ tail: Self) -> Self {
|
|
return [ head ] + tail
|
|
}
|
|
}
|