N-Queens Combinatorial Problem

Hi all, here is part 4.

See how feeding FP workhorses map and filter with monadic steroids turns them into the intriguing mapM and filterM.

Graduate to foldM by learning how it behaves with the help of three simple yet instructive examples of its usage.

Use the powers of foldM to generate all permutations of a collection with a simple one-liner.

Exploit what you learned about foldM to solve the N-Queens Combinatorial Problem with an iterative approach rather than a recursive one.