incipit-base-0.4.0.0: A Prelude for Polysemy – Base Reexports
Safe HaskellSafe-Inferred
LanguageHaskell2010

Incipit.Fixed

Description

Safe overrides of the Data.Fixed division functions.

Synopsis

Documentation

div' :: Real a => Integral b => a -> a -> Maybe b Source #

Generalisation of div to any instance of Real

divMod' :: Real a => Integral b => a -> a -> Maybe (b, a) Source #

Generalisation of divMod to any instance of Real

mod' :: Real a => a -> a -> Maybe a Source #

Generalisation of mod to any instance of Real