Created
April 17, 2013 04:06
-
-
Save frozencemetery/5401719 to your computer and use it in GitHub Desktop.
A deterministic number generator (written in 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
main = do putStrLn "How many digits do you want?" | |
nstr <- getLine | |
putStrLn $ take (read nstr) $ cycle "1" | |
main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment