robert-chiniquy/julia — comment on commit 5e44b1a82390568d326e012f803edaa91deeaa11
File: j/combinatorics.j line 229
By robert-chiniquy:

This is obviously the hinky-looking part. The algorithm uses a sleek but unintuitive data representation, a set of sets was my answer to "What's a better way to represent set partitions?" Very open to suggestions if anyone has any guidance to offer.