diplomacy-0.2.0.0: Diplomacy board game

Copyright(c) Alexander Vieth 2015
LicenseBSD3
Maintaineraovieth@gmail.com
Stabilityexperimental
Portabilitynon-portable (GHC only)
Safe HaskellSafe
LanguageHaskell2010

Diplomacy.Aligned

Description

 

Synopsis

Documentation

data Aligned t Source #

Something aligned to a GreatPower.

Instances

Functor Aligned Source # 

Methods

fmap :: (a -> b) -> Aligned a -> Aligned b #

(<$) :: a -> Aligned b -> Aligned a #

Eq t => Eq (Aligned t) Source # 

Methods

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

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

Ord t => Ord (Aligned t) Source # 

Methods

compare :: Aligned t -> Aligned t -> Ordering #

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

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

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

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

max :: Aligned t -> Aligned t -> Aligned t #

min :: Aligned t -> Aligned t -> Aligned t #

Show t => Show (Aligned t) Source # 

Methods

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

show :: Aligned t -> String #

showList :: [Aligned t] -> ShowS #