| Copyright | (c) OleksandrZhabenko 2021-2023 |
|---|---|
| License | MIT |
| Maintainer | oleksandr.zhabenko@yahoo.com |
| Stability | Experimental |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
CLI.Arguments.Arr
Description
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
Arguments
| :: (CLSpecifications -> [String] -> Args) | A function to collect the |
| -> CLSpecifications | |
| -> [String] | |
| -> Array Int Arguments |
For empty list of Strings 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 Strings 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
| :: 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 Strings 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 Strings 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 Strings 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 -> Arguments -> Ordering) -> CLSpecifications -> [String] -> Args) | |
| -> (Arguments -> Arguments -> Ordering) | A |
| -> CLSpecifications | |
| -> [String] | |
| -> Array Int Arguments |
For empty list of Strings 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 -> Arguments -> Ordering) | A |
| -> CLSpecifications | |
| -> [String] | |
| -> Array Int Arguments |
For empty list of Strings 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
| :: 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 Strings 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 -> Arguments -> Ordering) | A |
| -> CLSpecifications | |
| -> [String] | |
| -> Array Int Arguments |
For empty list of Strings 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 -> Arguments -> Ordering) | A |
| -> CLSpecifications | |
| -> [String] | |
| -> Array Int Arguments |
For empty list of Strings 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).