Skip to content

Instantly share code, notes, and snippets.

@fitomad fitomad/swift5_SE-0214.swift Secret
Created Jan 21, 2019

Embed
What would you like to do?
let entradaDiccionario = KeyValuePairs(dictionaryLiteral: ("Adolfo", 43), ("Carlos", 10), ("Hugo", 9))
dump(entradaDiccionario)
// La salida del terminal es...
// ▿ ["Adolfo": 43, "Carlos": 10, "Hugo": 9]
// ▿ _elements: 3 elements
// ▿ (2 elements)
// - .0: "Adolfo"
// - .1: 43
// ▿ (2 elements)
// - .0: "Carlos"
// - .1: 10
// ▿ (2 elements)
// - .0: "Hugo"
// - .1: 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.