incipit-base-0.6.0.0: A Prelude for Polysemy – Base Reexports
Safe HaskellSafe-Inferred
LanguageGHC2021

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