Skip to content

Instantly share code, notes, and snippets.

@amalloy
Forked from anonymous/gist:1158162
Created August 19, 2011 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amalloy/1158172 to your computer and use it in GitHub Desktop.
Save amalloy/1158172 to your computer and use it in GitHub Desktop.
(for [combo piece-square-combos
:let [attempt (into loc-pieces combo)
rec-result (solve-rec attempt board-size (dissoc piece-counts piece))]
item rec-result
:when (not (nil? item))]
item)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment