News for hackers. Stuff that matters.
Re:Hidden treasure in the D standard library by repsilat on Friday August 29, 2014 @04:19AM (#8241596)
In theory you could use a tree for unhashable things with a total order, and you could use a list for just about anything else (though you might want to emit a warning...).

I assume D has enough magic to pattern match on the traits of the types in the argument list?

Re:Hidden treasure in the D standard library by dllthomas on Friday August 29, 2014 @12:37PM (#8243253)
Presuming you have equality.