choose-exe-0.1.0.0: Command-line program to choose random element from a stream.
Data.Random.Choose.Executable.Args
Contents
Description
Defines the command-line arguments for Data.Random.Choose.Executable.
Synopsis
data Args Source #
Constructors
Fields
n, the number of items to choose.
getArgs :: IO Args Source #
getN :: Args -> Int Source #
defaultN :: Int Source #
The default value for n if not specified.
parserN :: Parser (Maybe Int) Source #