Created
February 27, 2015 11:23
-
-
Save MiyamonY/5bf4bcb59b99f83189e4 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
import System.Random | |
main :: IO () | |
main = do | |
gen <- getStdGen | |
putStrLn $ take 20 $ randomRs ('a', 'z') gen | |
gen' <- newStdGen | |
putStrLn $ take 20 $ randomRs ('a', 'z') gen' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment