definitive-base-2.6.3: A small Prelude wrapper to simplify my own Haskell developments

Safe HaskellNone
LanguageHaskell2010

Data.TimeVal

Synopsis

Documentation

data TimeVal t Source #

A type wrapper that adds a Bounded instance for types that don't possess one.

Constructors

Always 
Since t 
Never 

Instances

Unit TimeVal Source # 

Methods

pure :: a -> TimeVal a Source #

Traversable TimeVal Source # 

Methods

sequence :: Applicative f => TimeVal (f a) -> f (TimeVal a) Source #

Foldable TimeVal Source # 

Methods

fold :: Monoid m => TimeVal m -> m Source #

Monad TimeVal Source # 

Methods

join :: TimeVal (TimeVal a) -> TimeVal a Source #

(>>=) :: TimeVal a -> (a -> TimeVal b) -> TimeVal b Source #

Applicative TimeVal Source # 
SemiApplicative TimeVal Source # 

Methods

(<*>) :: TimeVal (a -> b) -> TimeVal a -> TimeVal b Source #

Functor TimeVal Source # 

Methods

map :: (a -> b) -> TimeVal a -> TimeVal b Source #

Bounded (TimeVal t) Source # 
Eq t => Eq (TimeVal t) Source # 

Methods

(==) :: TimeVal t -> TimeVal t -> Bool #

(/=) :: TimeVal t -> TimeVal t -> Bool #

Ord t => Ord (TimeVal t) Source # 

Methods

compare :: TimeVal t -> TimeVal t -> Ordering #

(<) :: TimeVal t -> TimeVal t -> Bool #

(<=) :: TimeVal t -> TimeVal t -> Bool #

(>) :: TimeVal t -> TimeVal t -> Bool #

(>=) :: TimeVal t -> TimeVal t -> Bool #

max :: TimeVal t -> TimeVal t -> TimeVal t #

min :: TimeVal t -> TimeVal t -> TimeVal t #

Show t => Show (TimeVal t) Source # 

Methods

showsPrec :: Int -> TimeVal t -> ShowS #

show :: TimeVal t -> String #

showList :: [TimeVal t] -> ShowS #