Skip to content

Instantly share code, notes, and snippets.

@njsand
njsand / gist:94791a518c16818c31a5a13e303b3a00
Created April 27, 2017 06:58
Output random letters from [a-zA-Z] (haskell)
-- Output random letters from [a-zA-Z].
import System.Random
import System.Environment
import Control.Applicative
main :: IO ()
main = do
args <- getArgs
-- Default to 15 chars if no arg is supplied.