optparse-applicative-0.11.0.1: Utilities and combinators for parsing command line options

Safe HaskellSafe-Inferred
LanguageHaskell98

Options.Applicative.Internal

Documentation

data Context Source

Constructors

forall a . Context [String] (ParserInfo a) 
NullContext 

Instances

uncons :: [a] -> Maybe (a, [a]) Source

hoistMaybe :: MonadPlus m => Maybe a -> m a Source

runReadM :: MonadP m => ReadM a -> String -> m a Source

data SomeParser Source

Constructors

forall a . SomeParser (Parser a) 

data ListT m a Source

Instances

takeListT :: Monad m => Int -> ListT m a -> ListT m a Source

runListT :: Monad m => ListT m a -> m [a] Source

cut :: Monad m => NondetT m () Source

(<!>) :: Monad m => NondetT m a -> NondetT m a -> NondetT m a Source

disamb :: Monad m => Bool -> NondetT m a -> m (Maybe a) Source