I've been using Advent of Code to teach myself Nim and have reached a question involving overlapping coordinates. If I was doing this in Python, I'd probably construct a tuple for each coordinate and store them in a set so I can do operations like intersections and unions.
I've been trying to do a similar thing in Nim but without much luck. I can't work out what kinds of types I'm allowed to store inside sets, or whether this is possible at all.