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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment