diplomacy-0.1.0.0: The board game Diplomacy, spoken in Haskell

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

outOrder :: (Subject, OrderObject phase order)
 

Instances

Eq (Order phase order) 
Ord (Order phase order) 
Show (Order phase order) 
Show (SomeResolved Order phase) 

data SomeOrder phase where Source

Constructors

SomeOrder :: Order phase order -> SomeOrder phase 

Instances

Eq (SomeOrder phase) 
Ord (SomeOrder phase) 
Show (SomeOrder phase) 

orderSubject :: Order phase order -> Subject Source

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