Skip to content

Instantly share code, notes, and snippets.

View ataugeron's full-sized avatar

Alexis Taugeron ataugeron

View GitHub Profile
func myPrint(str: String, #completion: () -> ()) {
println(str)
completion()
}
let words = ["foo", "bar", "baz"]
let finalCompletion = { println("Done") }