Loading [MathJax]/jax/output/HTML-CSS/jax.js

lawz-0.0.1: Common mathematical laws.

Safe HaskellSafe
LanguageHaskell2010

Test.Function.Monotone

Synopsis

Documentation

monotone :: Ord r => (r -> r) -> r -> r -> Bool Source #

monotone_on :: Rel r -> Rel s -> (r -> s) -> r -> r -> Bool Source #

a,b:abf(a)f(b)

antitone :: Ord r => (r -> r) -> r -> r -> Bool Source #

antitone_on :: Rel r -> Rel s -> (r -> s) -> r -> r -> Bool Source #

a,b:abf(b)f(a)