Skip to content

Instantly share code, notes, and snippets.

@adamchalmers
Created September 11, 2017 14:45
Show Gist options
  • Save adamchalmers/6192a5aeca02b883f0b4e03400344db4 to your computer and use it in GitHub Desktop.
Save adamchalmers/6192a5aeca02b883f0b4e03400344db4 to your computer and use it in GitHub Desktop.
func extend<T: Collection, U: Collection>(_ base: T, withNewElems: U)
where T.Iterator.Element == U.Iterator.Element {
// function body will go here
// also ignoring return type for now
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment