Module
Options.Applicative.Internal
- Package
- purescript-optparse
- Repository
- f-o-a-m/purescript-optparse
#MonadP Source
class (Monad m, Alt m) <= MonadP (m :: Type -> Type) where
Members
enterContext :: forall a. String -> ParserInfo a -> m Unit
exitContext :: m Unit
getPrefs :: m ParserPrefs
missingArgP :: forall a. ParseError -> Completer -> m a
errorP :: forall a. ParseError -> m a
exitP :: forall a b. IsCmdStart -> ArgPolicy -> Parser b -> Maybe a -> m a
Instances
#hoistMaybe Source
hoistMaybe :: forall a m. MonadP m => ParseError -> Maybe a -> m a
#hoistEither Source
hoistEither :: forall a m. MonadP m => Either ParseError a -> m a
#runP Source
runP :: forall a. P a -> ParserPrefs -> (Tuple (Either ParseError a) (Array Context))
#runCompletion Source
runCompletion :: forall r. Completion r -> ParserPrefs -> Maybe (Either (Tuple SomeParser ArgPolicy) Completer)
#NondetT Source
newtype NondetT m a
Instances
(Monad m) => Functor (NondetT m)
(Monad m) => Apply (NondetT m)
(Monad m) => Applicative (NondetT m)
(Monad m) => Bind (NondetT m)
(Monad m) => Monad (NondetT m)
(Monad m) => MonadPlus (NondetT m)
instance nondetTMonadZero :: Monad m => MonadZero (NondetT m)
(Monad m) => Alt (NondetT m)
(Monad m) => Plus (NondetT m)
(Monad m) => Alternative (NondetT m)
MonadTrans NondetT
#(<!>) Source
Operator alias for Options.Applicative.Internal.nondetTAltOp (left-associative / precedence 99)
#nondetTAltOp Source
nondetTAltOp :: forall a m. Monad m => NondetT m a -> NondetT m a -> NondetT m a
Re-exports from Options.Applicative.Types
- Modules
- Options.
Applicative - Options.
Applicative. BashCompletion - Options.
Applicative. Builder - Options.
Applicative. Builder. Completer - Options.
Applicative. Builder. Internal - Options.
Applicative. Common - Options.
Applicative. Extra - Options.
Applicative. Help - Options.
Applicative. Help. Chunk - Options.
Applicative. Help. Core - Options.
Applicative. Help. Levenshtein - Options.
Applicative. Help. Pretty - Options.
Applicative. Help. Types - Options.
Applicative. Internal - Options.
Applicative. Internal. Utils - Options.
Applicative. Types - Text.
PrettyPrint. Leijen
instance listTMonadZero :: Monad m => MonadZero (ListT m)