<squirmybroom35>
I tried to key a hash map with tuples. The compiler suggests that it might be possible, is it?
TwoNotes has quit [Quit: Leaving]
Nawab has quit [Remote host closed the connection]
<SeanTAllen>
It's not at this time.
<squirmybroom35>
OK
<squirmybroom35>
So I dropped the tuple-as-key-iead and decided to create a class instead that implements Hashable and Equatable, which I could use as key. However, I'm not sure how to implement hash(). The state of the object is decided by two U16 variables. Is there some trick for creating a composite hash from the two objects, which already implement Hashable?
<squirmybroom35>
iead=idea
<squirmybroom35>
Think I got it to work with HashByteSeq.hash().
squirmybroom35 has quit [Remote host closed the connection]