Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import System.Random
main = do
gen <- getStdGen
putStrLn $ take 20 (randomRs ('a','z') gen)
gen' <- newStdGen
putStr $ take 20 (randomRs ('a','z') gen')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment