OptDir-0.1.0: The OptDir type for representing optimization directions.
Copyright(c) Masahiro Sakai 2012
LicenseBSD-style (see the file libraries/base/LICENSE)
Maintainermasahiro.sakai@gmail.com
Stabilitystable
Portabilitynon-portable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.OptDir

Description

The OptDir type for representing optimization directions.

Synopsis

Documentation

data OptDir Source #

The OptDir type represents optimization directions.

Constructors

OptMin

minimization

OptMax

maximization

Instances

Instances details
Data OptDir Source # 
Instance details

Defined in Data.OptDir

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OptDir -> c OptDir #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OptDir #

toConstr :: OptDir -> Constr #

dataTypeOf :: OptDir -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OptDir) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OptDir) #

gmapT :: (forall b. Data b => b -> b) -> OptDir -> OptDir #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OptDir -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OptDir -> r #

gmapQ :: (forall d. Data d => d -> u) -> OptDir -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OptDir -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OptDir -> m OptDir #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OptDir -> m OptDir #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OptDir -> m OptDir #

Bounded OptDir Source # 
Instance details

Defined in Data.OptDir

Enum OptDir Source # 
Instance details

Defined in Data.OptDir

Generic OptDir Source # 
Instance details

Defined in Data.OptDir

Associated Types

type Rep OptDir :: Type -> Type #

Methods

from :: OptDir -> Rep OptDir x #

to :: Rep OptDir x -> OptDir #

Ix OptDir Source # 
Instance details

Defined in Data.OptDir

Read OptDir Source # 
Instance details

Defined in Data.OptDir

Show OptDir Source # 
Instance details

Defined in Data.OptDir

NFData OptDir Source # 
Instance details

Defined in Data.OptDir

Methods

rnf :: OptDir -> () #

Eq OptDir Source # 
Instance details

Defined in Data.OptDir

Methods

(==) :: OptDir -> OptDir -> Bool #

(/=) :: OptDir -> OptDir -> Bool #

Ord OptDir Source # 
Instance details

Defined in Data.OptDir

Hashable OptDir Source # 
Instance details

Defined in Data.OptDir

Methods

hashWithSalt :: Int -> OptDir -> Int #

hash :: OptDir -> Int #

type Rep OptDir Source # 
Instance details

Defined in Data.OptDir

type Rep OptDir = D1 ('MetaData "OptDir" "Data.OptDir" "OptDir-0.1.0-1jxLWJeU2Da9AwUA6AtcrW" 'False) (C1 ('MetaCons "OptMin" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OptMax" 'PrefixI 'False) (U1 :: Type -> Type))