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

Safe HaskellNone
LanguageHaskell98

Number.Physical.Read

Description

Convert a human readable string to a physical value.

Synopsis

Documentation

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