diff --git a/src/System/Random/Internal.hs b/src/System/Random/Internal.hs index e53dc025..2b663518 100644 --- a/src/System/Random/Internal.hs +++ b/src/System/Random/Internal.hs @@ -621,6 +621,11 @@ class UniformRange a where -- -- > isInRange (x, x) y == x == y -- + -- Endpoints are endpoints: + -- + -- > isInRange (lo, hi) x ==> + -- > isInRange (lo, x) hi == x == hi + -- -- Ranges are transitive relations: -- -- > isInRange (lo, hi) lo' && isInRange (lo, hi) hi' &&