Created
February 21, 2019 20:29
-
-
Save kubaracek/f5c35f34e2b94934b9af565c88fbb5de 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
checkCoord :: Board -> Coord -> Bool | |
checkCoord board (x,y) = | |
all (==True) [ | |
validateVector $ getRow x board | |
, validateVector $ getCol y board | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment