JuliaCollections / OrderedCollections.jl

Julia implementation of associative containers that preserve insertion order
MIT License
92 stars 37 forks source link

Add LittleSet? #81

Open CameronBieganek opened 3 years ago

oxinabox commented 3 years ago

It's really close to Vector/Tuple, but not quite

CameronBieganek commented 3 years ago

Yeah, I'd like something like Tuple but with (1, 2) == (2, 1) (for any length "tuple"/LittleSet).

oxinabox commented 2 months ago

I am coming around to being convinced this is useful. Getting hash to work should be fine we just do a symmetric operation like xoring the hash of each element. I can't think of a way to impement == that is good.