News for hackers. Stuff that matters.
Re:Using Monads in C++ to Solve Constraints: 1. The List Monad by zeroonetwothree on Monday May 11, 2015 @10:30PM (#9529235)
I would just use std::next_permutation (or equivalent partial permutation from a library). This produces pretty clean code.

There are no comments on this comment yet.