1
1
mirror of https://github.com/github/semantic.git synced 2024-11-25 21:43:07 +03:00
semantic/prototype/Doubt/RangeReplaceableCollectionType.swift
2015-10-13 01:02:05 -04:00

6 lines
140 B
Swift

extension RangeReplaceableCollectionType {
static func cons(head: Generator.Element, _ tail: Self) -> Self {
return [ head ] + tail
}
}