mixed-types-num-0.5.4.0: Alternative Prelude with numeric and logic expressions typed bottom-up
Copyright(c) Michal Konecny
LicenseBSD3
Maintainermikkonecny@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Numeric.MixedTypes.Reduce

Description

Mechanism to throw an error when a value gets too inaccurate.

Documentation

class CanGiveUpIfVeryInaccurate t where Source #

Minimal complete definition

Nothing

Methods

giveUpIfVeryInaccurate :: CN t -> CN t Source #

If the value contains so little information that it is seen as useless, drop the value and add an error indicating what happened.