Skip to content

Instantly share code, notes, and snippets.

@ethnt
Created March 13, 2015 04:23
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 ethnt/12d9367de4aea2491e41 to your computer and use it in GitHub Desktop.
Save ethnt/12d9367de4aea2491e41 to your computer and use it in GitHub Desktop.
*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