diplomacy-0.2.0.0: Diplomacy board game

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

Diplomacy.Order

Description

 

Documentation

newtype Order phase order Source #

Constructors

Order 

Fields

Instances

Eq (Order phase order) Source # 

Methods

(==) :: Order phase order -> Order phase order -> Bool #

(/=) :: Order phase order -> Order phase order -> Bool #

Ord (Order phase order) Source # 

Methods

compare :: Order phase order -> Order phase order -> Ordering #

(<) :: Order phase order -> Order phase order -> Bool #

(<=) :: Order phase order -> Order phase order -> Bool #

(>) :: Order phase order -> Order phase order -> Bool #

(>=) :: Order phase order -> Order phase order -> Bool #

max :: Order phase order -> Order phase order -> Order phase order #

min :: Order phase order -> Order phase order -> Order phase order #

Show (Order phase order) Source # 

Methods

showsPrec :: Int -> Order phase order -> ShowS #

show :: Order phase order -> String #

showList :: [Order phase order] -> ShowS #

Show (SomeResolved Order phase) # 

data SomeOrder phase where Source #

Constructors

SomeOrder :: Order phase order -> SomeOrder phase 

Instances

Eq (SomeOrder phase) Source # 

Methods

(==) :: SomeOrder phase -> SomeOrder phase -> Bool #

(/=) :: SomeOrder phase -> SomeOrder phase -> Bool #

Ord (SomeOrder phase) Source # 

Methods

compare :: SomeOrder phase -> SomeOrder phase -> Ordering #

(<) :: SomeOrder phase -> SomeOrder phase -> Bool #

(<=) :: SomeOrder phase -> SomeOrder phase -> Bool #

(>) :: SomeOrder phase -> SomeOrder phase -> Bool #

(>=) :: SomeOrder phase -> SomeOrder phase -> Bool #

max :: SomeOrder phase -> SomeOrder phase -> SomeOrder phase #

min :: SomeOrder phase -> SomeOrder phase -> SomeOrder phase #

Show (SomeOrder phase) Source # 

Methods

showsPrec :: Int -> SomeOrder phase -> ShowS #

show :: SomeOrder phase -> String #

showList :: [SomeOrder phase] -> ShowS #

orderSubject :: Order phase order -> Subject Source #

orderObject :: Order phase order -> OrderObject phase order Source #