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.OrderObject

Description

 

Synopsis

Documentation

data OrderObject phase order where Source #

The objective of an order. Together with an Subject and a GreatPower, this makes a complete order.

Instances

Eq (OrderObject phase order) Source # 

Methods

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

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

Eq (SomeResolved OrderObject phase) # 
Ord (OrderObject phase order) Source # 

Methods

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

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

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

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

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

max :: OrderObject phase order -> OrderObject phase order -> OrderObject phase order #

min :: OrderObject phase order -> OrderObject phase order -> OrderObject phase order #

Show (OrderObject phase order) Source # 

Methods

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

show :: OrderObject phase order -> String #

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

Show (SomeResolved OrderObject phase) # 

orderObjectEqual :: OrderObject phase order -> OrderObject phase' order' -> Bool Source #

data SomeOrderObject phase where Source #

Constructors

SomeOrderObject :: OrderObject phase order -> SomeOrderObject phase 

Instances