numeric-prelude- An experimental alternative hierarchy of numeric type classes

Safe HaskellNone



Convert a human readable string to a physical value.



readsNat :: (Enum i, Ord i, Read v, C a v) => T i a -> Int -> ReadS (T i v)Source

readUnitPart :: (Ord i, C a) => Map String (T i a) -> String -> (T i a, String)Source

parseProduct :: Parser [(String, Integer)]Source

This function could also return the value, but a list of pairs (String, Integer) is easier for testing.

createDict :: T i a -> Map String (T i a)Source