Last active
December 24, 2015 02:09
-
-
Save mzdravkov/6728540 to your computer and use it in GitHub Desktop.
This file contains 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
(defn move-boxes | |
([[box & cboxes] pos] (move-boxes box cboxes pos)) | |
([box cboxes pos] | |
(do some things) | |
(if (> pos 0) | |
(move-boxes box cboxes (dec pos)) | |
(move-boxes cboxes (dec pos))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment