Module
Options.Applicative.Internal
- Package
- purescript-optparse
- Repository
- f-o-a-m/purescript-optparse
#MonadP Source
class (MonadPlus 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 b a. IsCmdStart -> ArgPolicy -> Parser b -> Maybe a -> m a
Instances
#hoistMaybe Source
hoistMaybe :: forall m a. MonadPlus m => Maybe a -> m a
#hoistEither Source
hoistEither :: forall m a. 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)
#ListT Source
newtype ListT m a
Instances
(Monad m) => Functor (ListT m)
(Monad m) => Apply (ListT m)
(Monad m) => Applicative (ListT m)
(Monad m) => Bind (ListT m)
(Monad m) => Monad (ListT m)
(Monad m) => Alt (ListT m)
(Monad m) => Plus (ListT m)
(Monad m) => Alternative (ListT m)
MonadTrans ListT
(Monad m) => MonadZero (ListT m)
(Monad m) => MonadPlus (ListT m)
#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) => MonadZero (NondetT m)
(Monad m) => MonadPlus (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 m a. 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