Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
OrderedNumericTotalDigits :: FacetTypeHaXml Text.XML.HaXml.Schema.XSDTypeModel No documentation available.
UnorderedEnumeration :: FacetTypeHaXml Text.XML.HaXml.Schema.XSDTypeModel No documentation available.
EnumeratedType :: EnumeratedType -> AttTypeHaXml Text.XML.HaXml.Types No documentation available.
-
HaXml Text.XML.HaXml.Types No documentation available.
Enumeration :: Enumeration -> EnumeratedTypeHaXml Text.XML.HaXml.Types No documentation available.
-
HaXml Text.XML.HaXml.Types No documentation available.
-
HaXml Text.XML.HaXml.Xtract.Lex No documentation available.
parseNum :: (Read a, Fractional a) => SizeOpts -> Bool -> String -> Either String aMissingH Data.Quantity Parses a String, possibly generated by renderNum. Parses the suffix and applies it to the number, which is read via the Read class. Returns Left "error message" on error, or Right number on successful parse. If you want an Integral result, the convenience function parseNumInt is for you.
parseNumInt :: (Read a, Integral a) => SizeOpts -> Bool -> String -> Either String aMissingH Data.Quantity Parse a number as with parseNum, but return the result as an Integral. Any type such as Integer, Int, etc. can be used for the result type. This function simply calls round on the result of parseNum. A Double is used internally for the parsing of the numeric component. By using this function, a user can still say something like 1.5M and get an integral result.
quantifyNum :: (Ord a, Real a, Floating b, Ord b) => SizeOpts -> a -> (b, Char)MissingH Data.Quantity Takes a number and returns a new (quantity, suffix) combination. The space character is used as the suffix for items around 0.