Re: [swift-users] did i just imagine tuples were going to be hashable in swift 4?

2017-07-07 Thread Vladimir.S via swift-users
On 07.07.2017 5:50, David Baraff via swift-users wrote: I thought I read that tuples would finally be hashable in swift 4, allowing for them to be used in dictionaries/sets, but now that i google for it, i find no mention of it. are there any plans? so often i just want to quickly create a di

Re: [swift-users] did i just imagine tuples were going to be hashable in swift 4?

2017-07-07 Thread Adrian Zubarev via swift-users
Welcome to the group of people who thinks that the character from Monopoly had a monocle, including myself. You've just experienced a transdimensional jump from your universe without even notecing, but where Swift 4 actually had hashable tuples. :) Jokes aside, I haven't read anything about it

[swift-users] did i just imagine tuples were going to be hashable in swift 4?

2017-07-06 Thread David Baraff via swift-users
I thought I read that tuples would finally be hashable in swift 4, allowing for them to be used in dictionaries/sets, but now that i google for it, i find no mention of it. are there any plans? so often i just want to quickly create a dictionary set from a tuple of an integer or string or two,