Module
Data.Owoify.Internal.Parser.OwoifyParser
- Package
- purescript-owoify
- Repository
- deadshot465/purescript-owoify
#OwoifyError Source
class OwoifyError e whereThe OwoifyError class represents those types denoting errors when owoifying.
Members
eof :: eparseError :: String -> eRepresenting general parser error. Currently not used.
Instances
#count Source
count :: forall f e. OwoifyError e => Foldable f => Traversable f => Unfoldable f => (f String -> Maybe { head :: String, tail :: f String }) -> Int -> f (Word -> ExceptT String Effect Word) -> OwoifyParser e f (f (Effect (Either String Word)))count unconsFunc n p will replicate owoify parser according to the specified uncons, length (n) and a collection of owoify functions.
#OError Source
#OwoifyParser Source
newtype OwoifyParser :: Type -> (Type -> Type) -> Type -> Typenewtype OwoifyParser e f a
Instances
Functor (OwoifyParser e f)Apply (OwoifyParser e f)Applicative (OwoifyParser e f)Bind (OwoifyParser e f)Monad (OwoifyParser e f)
#runOwoifyParser Source
runOwoifyParser :: forall e f a. OwoifyError e => OwoifyParser e f a -> OwoifyFunction e f arunOwoifyParser (OwoifyParser f) simply executes (unwraps) the parser inside the monad.
Representing that the source collection of strings has been exhausted.