Created
February 13, 2013 21:50
-
-
Save sw17ch/4948663 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
module Main where | |
import Control.Concurrent | |
import System.IO | |
main :: IO () | |
main = do | |
hSetBuffering stdout NoBuffering | |
mapM_ (forkIO . putStrLn . repeat) ['a'..'z'] | |
threadDelay 1000000 |
Author
sw17ch
commented
Feb 13, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment