Module

Options.Applicative.Internal

#MonadP

class MonadP :: (Type -> Type) -> Constraintclass (Monad m, Alt m) <= MonadP (m :: Type -> Type)  where

Members

Instances

#hoistMaybe

hoistMaybe :: forall a m. MonadP m => ParseError -> Maybe a -> m a

#hoistEither

hoistEither :: forall a m. MonadP m => Either ParseError a -> m a

#runReadM

runReadM :: forall a m. MonadP m => ReadM a -> String -> m a

#withReadM

withReadM :: forall a. (String -> String) -> ReadM a -> ReadM a

#runP

runP :: forall a. P a -> ParserPrefs -> (Tuple (Either ParseError a) (Array Context))

#ListT

newtype ListT :: (Type -> Type) -> Type -> Typenewtype ListT m a

Instances

#takeListT

takeListT :: forall m a. Monad m => Int -> ListT m a -> ListT m a

#runListT

runListT :: forall a m. Monad m => ListT m a -> m (List a)

#NondetT

newtype NondetT :: (Type -> Type) -> Type -> Typenewtype NondetT m a

Instances

#cut

cut :: forall m. Monad m => NondetT m Unit

#(<!>)

Operator alias for Options.Applicative.Internal.nondetTAltOp (left-associative / precedence 99)

#nondetTAltOp

nondetTAltOp :: forall a m. Monad m => NondetT m a -> NondetT m a -> NondetT m a

#disamb

disamb :: forall m a. Monad m => Boolean -> NondetT m a -> m (Maybe a)

Re-exports from Options.Applicative.Types

Modules