Safe Haskell | None |
---|---|
Language | Haskell98 |
Convert a human readable string to a physical value.
- 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
parseProduct :: Parser [(String, Integer)] Source
This function could also return the value, but a list of pairs (String, Integer) is easier for testing.
parseProductTail :: Parser [(String, Integer)] Source
parsePower :: Parser (String, Integer) Source
ignoreSpace :: Parser a -> Parser a Source