idris-1.3.4: Functional Programming Language with Dependent Types
LicenseBSD3
MaintainerThe Idris Community.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Idris.CmdOptions

Description

 
Synopsis

Documentation

opt :: (Opt -> Maybe a) -> [Opt] -> [a] Source #

getClient :: Opt -> Maybe String Source #

getPkg :: Opt -> Maybe (Bool, String) Source #

getPkgCheck :: Opt -> Maybe String Source #

getPkgClean :: Opt -> Maybe String Source #

getPkgMkDoc Source #

Arguments

:: Opt

Opt to extract

-> Maybe (Bool, String)

Result

Returns None if given an Opt which is not PkgMkDoc Otherwise returns Just x, where x is the contents of PkgMkDoc

getPkgREPL :: Opt -> Maybe String Source #

getPkgTest Source #

Arguments

:: Opt

the option to extract

-> Maybe String

the package file to test

getPort :: [Opt] -> Maybe REPLPort Source #

getIBCSubDir :: Opt -> Maybe String Source #

pureArgParser :: [String] -> [Opt] Source #

execArgParserPure :: [String] -> ParserResult [Opt] Source #