NumericPrelude-0.0: An experimental alternative hierarchy of numeric type classesContentsIndex
Number.Physical.Read
Portabilitymulti-parameter type classes (VectorSpace.hs)
Stabilityprovisional
Maintainernumericprelude@henning-thielemann.de
Description
Convert a human readable string to a physical value.
Synopsis
mulPrec :: Int
readsNat :: (Enum i, Ord i, Read v, C a v) => T i a -> Int -> ReadS (T i v)
readUnitPart :: (Ord i, C a) => Map String (T i a) -> String -> (T i a, String)
parseProduct :: Parser [(String, Integer)]
parseProductTail :: Parser [(String, Integer)]
parsePower :: Parser (String, Integer)
ignoreSpace :: Parser a -> Parser a
createDict :: T i a -> Map String (T i a)
Documentation
mulPrec :: Int
readsNat :: (Enum i, Ord i, Read v, C a v) => T i a -> Int -> ReadS (T i v)
readUnitPart :: (Ord i, C a) => Map String (T i a) -> String -> (T i a, String)
parseProduct :: Parser [(String, Integer)]
This function could also return the value, but a list of pairs (String, Integer) is easier for testing.
parseProductTail :: Parser [(String, Integer)]
parsePower :: Parser (String, Integer)
ignoreSpace :: Parser a -> Parser a
createDict :: T i a -> Map String (T i a)
Produced by Haddock version 0.7