Copyright | (c) OleksandrZhabenko 2021-2022 |
---|---|
License | MIT |
Maintainer | olexandr543@yahoo.com |
Stability | Experimental |
Safe Haskell | None |
Language | Haskell2010 |
Extensions |
|
A library to process command line arguments in some more convenient way.
Synopsis
- takeABCsArr :: (CLSpecifications -> [String] -> Args) -> CLSpecifications -> [String] -> Array Int Arguments
- takeCsArr :: CLSpecifications -> [String] -> Array Int Arguments
- takeCs1Arr :: FirstChars -> CLSpecifications -> [String] -> Array Int Arguments
- takeBsArr :: CLSpecifications -> [String] -> Array Int Arguments
- takeAsArr :: CLSpecifications -> [String] -> Array Int Arguments
- takeABCsArrSortedBy :: ((Arguments -> Arguments -> Ordering) -> CLSpecifications -> [String] -> Args) -> (Arguments -> Arguments -> Ordering) -> CLSpecifications -> [String] -> Array Int Arguments
- takeCsArrSortedBy :: (Arguments -> Arguments -> Ordering) -> CLSpecifications -> [String] -> Array Int Arguments
- takeCs1ArrSortedBy :: FirstChars -> (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
Documentation
:: (CLSpecifications -> [String] -> Args) | A function to collect the |
-> CLSpecifications | |
-> [String] | |
-> Array Int Arguments |
For empty list of String
s returns empty array that has no elements. Trying to index it always returns error and can cause
segmentation fault in the running program or interpreter (GHCi).
takeCsArr :: CLSpecifications -> [String] -> Array Int Arguments Source #
For empty list of String
s returns empty array that has no elements. Trying to index it always returns error and can cause
segmentation fault in the running program or interpreter (GHCi).
:: FirstChars | A pair of the first characters of the starting group delimiter (the same for all |
-> CLSpecifications | |
-> [String] | |
-> Array Int Arguments |
For empty list of String
s returns empty array that has no elements. Trying to index it always returns error and can cause
segmentation fault in the running program or interpreter (GHCi).
takeBsArr :: CLSpecifications -> [String] -> Array Int Arguments Source #
For empty list of String
s returns empty array that has no elements. Trying to index it always returns error and can cause
segmentation fault in the running program or interpreter (GHCi).
takeAsArr :: CLSpecifications -> [String] -> Array Int Arguments Source #
For empty list of String
s returns empty array that has no elements. Trying to index it always returns error and can cause
segmentation fault in the running program or interpreter (GHCi).
:: ((Arguments -> Arguments -> Ordering) -> CLSpecifications -> [String] -> Args) | |
-> (Arguments -> Arguments -> Ordering) | A |
-> CLSpecifications | |
-> [String] | |
-> Array Int Arguments |
For empty list of String
s returns empty array that has no elements. Trying to index it always returns error and can cause
segmentation fault in the running program or interpreter (GHCi).
:: (Arguments -> Arguments -> Ordering) | A |
-> CLSpecifications | |
-> [String] | |
-> Array Int Arguments |
For empty list of String
s returns empty array that has no elements. Trying to index it always returns error and can cause
segmentation fault in the running program or interpreter (GHCi).
:: FirstChars | A pair of the first characters of the starting group delimiter (the same for all |
-> (Arguments -> Arguments -> Ordering) | A |
-> CLSpecifications | |
-> [String] | |
-> Array Int Arguments |
For empty list of String
s returns empty array that has no elements. Trying to index it always returns error and can cause
segmentation fault in the running program or interpreter (GHCi).
:: (Arguments -> Arguments -> Ordering) | A |
-> CLSpecifications | |
-> [String] | |
-> Array Int Arguments |
For empty list of String
s returns empty array that has no elements. Trying to index it always returns error and can cause
segmentation fault in the running program or interpreter (GHCi).
:: (Arguments -> Arguments -> Ordering) | A |
-> CLSpecifications | |
-> [String] | |
-> Array Int Arguments |
For empty list of String
s returns empty array that has no elements. Trying to index it always returns error and can cause
segmentation fault in the running program or interpreter (GHCi).