-- | Extra functions for numbers. module Data.Number.Extra where -- | Shorter-hand for fromIntegral. int :: (Integral a, Num b) => a -> b int = fromIntegral