On Wednesday, 24 October 2012 at 20:18:07 UTC, Mehrdad wrote:
On Wednesday, 24 October 2012 at 20:15:07 UTC, H. S. Teoh wrote:
hashOf works for pretty much anything (it's just a byte-based algo).


Byte-based?

what about


        Set!(Tuple!(int, string)) s;
        s[tuple(1, "hi")] = 1;
        writeln(tuple(1, "hi".dup) in s);  // null or not?

my bad, I mixed up AA and sets.

That was supposed to insert the item, not map it to 1. Would it work?

Reply via email to