4.18. NumExts

The NumExts interface collect together various numeric operations that have proven to be commonly useful

 -- Going between Doubles and Floats:
doubleToFloat :: Double -> Float
floatToDouble :: Float  -> Double

showHex       :: Integral a => a -> ShowS
showOct       :: Integral a => a -> ShowS
showBin       :: Integral a => a -> ShowS

showIntAtBase :: Integral a 
	      => a            -- base
	      -> (a -> Char)  -- digit to char
	      -> a            -- number to show.
	      -> ShowS

showListWith  :: (a -> ShowS) -> [a] -> ShowS 

Notes: