-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | A library to process command line arguments in some more convenient way.
--
-- Uses three types of the command line arguments and order of their
-- parsing. Usually firstly the framed by some string delimiter (the
-- different ones) are parsed, then the groups of arguments and then the
-- rest single-field arguments. All these groups must be not nested one
-- into the others.
@package cli-arguments
@version 0.2.0.0
-- | A library to process command line arguments in some more convenient
-- way.
module CLI.Arguments
data Arguments
A :: String -> Arguments
B :: Int -> String -> [String] -> Arguments
C :: String -> [String] -> Arguments
type Args = [Arguments]
type Specification = (Delimiter, GQtyArgs)
type CLSpecifications = [Specification]
type Delimiter = String
type GQtyArgs = Int
isA :: Arguments -> Bool
isB :: Arguments -> Bool
isC :: Arguments -> Bool
nullArguments :: Arguments -> Bool
notNullArguments :: Arguments -> Bool
b1Args2AArgs :: Arguments -> Arguments
args2Args :: CLSpecifications -> [String] -> Args
args2Args3' :: (Args, Args, Args) -> CLSpecifications -> [String] -> (Args, Args, Args)
args2Args3 :: CLSpecifications -> [String] -> (Args, Args, Args)
-- | This function can actually parse the command line arguments being the
-- [String] so that some of them will disappear because of the
-- CLSpecifications provided and the order of the arguments.
args2ArgsFiltered :: CLSpecifications -> [String] -> Args
takeCs :: CLSpecifications -> [String] -> Args
takeBs :: CLSpecifications -> [String] -> Args
takeAs :: CLSpecifications -> [String] -> Args
takeCsSortedBy :: (Arguments -> Arguments -> Ordering) -> CLSpecifications -> [String] -> Args
takeBsSortedBy :: (Arguments -> Arguments -> Ordering) -> CLSpecifications -> [String] -> Args
takeAsSortedBy :: (Arguments -> Arguments -> Ordering) -> CLSpecifications -> [String] -> Args
takeCsArr :: CLSpecifications -> [String] -> Array Int Arguments
takeBsArr :: CLSpecifications -> [String] -> Array Int Arguments
takeAsArr :: CLSpecifications -> [String] -> Array Int Arguments
takeCsArrSortedBy :: (Arguments -> Arguments -> Ordering) -> CLSpecifications -> [String] -> Array Int Arguments
takeBsArrSortedBy :: (Arguments -> Arguments -> Ordering) -> CLSpecifications -> [String] -> Array Int Arguments
takeAsArrSortedBy :: (Arguments -> Arguments -> Ordering) -> CLSpecifications -> [String] -> Array Int Arguments
instance GHC.Classes.Eq CLI.Arguments.Arguments
instance GHC.Show.Show CLI.Arguments.Arguments