Created
July 20, 2018 06:27
-
-
Save christianwish/98d6ed4b1e84dc726b37e20652502043 to your computer and use it in GitHub Desktop.
timeout haskell
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
import System.IO | |
import Control.Concurrent (threadDelay) | |
a i = do | |
threadDelay 1000000 | |
print $ show i | |
a (i + 1) | |
main = do | |
a 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment