(use util.combinations)(map(pa$ apply format #t"~s ~s ~s ~s ~s ~s ")(permutations'(0 1 2 3 4 5)))