Created
December 16, 2012 14:08
-
-
Save thomwiggers/4307616 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| vraagZet :: Bord -> IO Int | |
| vraagZet bord = do | |
| putStrLn "Waar wilt u een steen plaatsen?" | |
| putStrLn (showBord bord) | |
| putStr "Op rij: " | |
| hFlush stdout | |
| x <- getLine | |
| return $ read x | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment