Text.XML.Light.Extractors.Extra
float :: (Floating a, Read a) => String -> Either String a Source #
Reads a floating point value or return Left "float" if the read fails.
Left "float"
Left
integer :: (Integral a, Read a) => String -> Either String a Source #
Reads an integer value or return Left "integer" if the read fails.
Left "integer"