xml-extractors-0.4.0.3: Extension to the xml package to extract data from parsed xml
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.XML.Light.Extractors.Extra

Synopsis

Documentation

float :: (Floating a, Read a) => String -> Either String a Source #

Reads a floating point value or return Left "float" if the read fails.

integer :: (Integral a, Read a) => String -> Either String a Source #

Reads an integer value or return Left "integer" if the read fails.