dates-0.2.3.2: Small library for parsing different dates formats.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Dates.Internal

Synopsis

Documentation

tryRead :: (Read a, Stream s m Char) => String -> ParsecT s st m a Source #

Parser version of Prelude.read

tryReadInt :: (Stream s m Char, Num a) => String -> ParsecT s st m a Source #

times :: Stream s m Char => Int -> ParsecT s st m t -> ParsecT s st m [t] Source #

Apply parser N times

number Source #

Arguments

:: Stream s m Char 
=> Int

Number of digits

-> Int

Maximum value

-> ParsecT s st m Int 

Parse natural number of N digits which is not greater than M

pYear :: Stream s m Char => ParsecT s st m Int Source #

pMonth :: Stream s m Char => ParsecT s st m Int Source #

pDay :: Stream s m Char => ParsecT s st m Int Source #