This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; list comprehensions are often used as a poor man's Prolog | |
| ;; consider the following, it has only one solution | |
| ;; [1 1 1 1 1 1 1 1 1 1] yet we actually consider 10^10 possibilities | |
| (for [a (range 1 11) | |
| b (range 1 11) | |
| c (range 1 11) | |
| d (range 1 11) | |
| e (range 1 11) | |
| f (range 1 11) |