Created
March 13, 2015 04:23
-
-
Save ethnt/12d9367de4aea2491e41 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
*Sudoku> let firstTwo = zipWith (\x y -> [x, y]) (testPuzzle !! 0) (testPuzzle !! 1) | |
*Sudoku> firstTwo | |
["67","00","38","76","12","94","49","53","81"] | |
*Sudoku> let firstThree = zipWith (\x y -> x ++ y) (firstTwo) (group 1 (testPuzzle !! 2)) | |
*Sudoku> firstThree | |
["674","009","381","768","120","943","492","537","816"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment