ord-adhoc-0.0.0.1: Creating Ord instances instantly

MaintainerFumiaki Kinsohita <fumiexcel@gmail.com>
Safe HaskellSafe-Inferred

Data.Ord.Bounded

Description

Creating bounded value from any Ord instance

Synopsis

Documentation

data GBounded min max a Source

A structure that provides minimum/maximum to any value.

Instances

Monad (GBounded min max) 
Functor (GBounded min max) 
Applicative (GBounded min max) 
(Eq min, Eq max, Eq a) => Eq (GBounded min max a) 
(Ord min, Ord max, Ord a) => Ord (GBounded min max a) 
(Show min, Show max, Show a) => Show (GBounded min max a) 

minimumBound :: GBounded () max aSource

Provided minimum value.

maximumBound :: GBounded min () aSource

Provided maximum value.