Module
Text.Parsing.Combinators
- Package
- purescript-parsers
- Repository
- mlang/purescript-parsers
#chainl Source
chainl :: forall a m. Alternative m => m a -> m (a -> a -> a) -> a -> m a
#chainl1 Source
chainl1 :: forall a m. Alternative m => m a -> m (a -> a -> a) -> m a
#chainr Source
chainr :: forall a m. Alternative m => m a -> m (a -> a -> a) -> a -> m a
Parse phrases delimited by a right-associative operator.
#chainr1 Source
chainr1 :: forall a m. Alternative m => m a -> m (a -> a -> a) -> m a
Parse phrases delimited by a right-associative operator, requiring at least one match.
#either Source
either :: forall b a m. Alternative m => m a -> m b -> m (Either a b)
#oneOf Source
oneOf :: forall a m f. Foldable f => Alternative m => f (m a) -> m a
#option Source
option :: forall a m. Alternative m => a -> m a -> m a
#optional Source
optional :: forall a m. Alternative m => m a -> m Unit
#optionMaybe Source
optionMaybe :: forall a m. Alternative m => m a -> m (Maybe a)