saturn-1.0.0.8: Handle POSIX cron schedules.
Safe HaskellNone
LanguageHaskell2010

Saturn.Unstable.Parse

Synopsis

Documentation

fromLazyText :: Text -> Either ParseError Schedule Source #

Parses a lazy Text value into a Schedule. See fromText for details.

fromString :: String -> Either ParseError Schedule Source #

Parses a String into a Schedule. See fromText for details.

fromText :: Text -> Either ParseError Schedule Source #

Parses a strict Text value into a Schedule. The input should have five fields, each separated by at least one space. Leading and trailing spaces are allowed.

parsec :: forall s (m :: Type -> Type) u. Stream s m Char => ParsecT s u m Schedule Source #