mirror of
https://github.com/github/semantic.git
synced 2024-12-02 02:08:48 +03:00
93fd2acc81
git-subtree-dir: prototype
git-subtree-mainline: 0244ce39f68a04b515f32b2b8ea9a3e0228923c7
git-subtree-split: a7fef6ced9
6 lines
105 B
Swift
6 lines
105 B
Swift
extension Array {
|
|
static func cons(head: Element, _ tail: Array) -> Array {
|
|
return [head] + tail
|
|
}
|
|
}
|