Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Data structures used by NationStates.
- data WACategory
- = Anarchy
- | AuthoritarianDemocracy
- | BenevolentDictatorship
- | CapitalistParadise
- | Capitalizt
- | CivilRightsLovefest
- | CompulsoryConsumeristState
- | ConservativeDemocracy
- | CorporateBordello
- | CorporatePoliceState
- | CorruptDictatorship
- | DemocraticSocialists
- | FatherKnowsBestState FatherOrMother
- | FreeMarketParadise
- | InoffensiveCentristDemocracy
- | IronFistConsumerists
- | IronFistSocialists
- | LeftLeaningCollegeState
- | LeftWingUtopia
- | LiberalDemocraticSocialists
- | LibertarianPoliceState
- | MoralisticDemocracy
- | NewYorkTimesDemocracy
- | PsychoticDictatorship
- | RightWingUtopia
- | ScandinavianLiberalParadise
- | TyrannyByMajority
- data FatherOrMother
- readWACategory :: String -> Maybe WACategory
- showWACategory :: WACategory -> String
- type WAVote = Maybe Bool
- readWAVote :: String -> Maybe WAVote
- readWAVote' :: String -> Maybe (Maybe WAVote)
- showWAVote :: WAVote -> String
- readWAStatus :: String -> Maybe Bool
- showWAStatus :: Bool -> String
Documentation
data WACategory Source
Nation category.
This datum summarizes a nation's personal, economic, and political freedoms.
data FatherOrMother Source
Differentiates between a Father or Mother Knows Best State.
showWACategory :: WACategory -> String Source
type WAVote = Maybe Bool Source
A vote in the General Assembly or Security Council.
Just True
and Just False
mean "for" and "against"
respectively, while Nothing
means that the nation did not vote at
all.
readWAVote :: String -> Maybe WAVote Source
showWAVote :: WAVote -> String Source
readWAStatus :: String -> Maybe Bool Source
showWAStatus :: Bool -> String Source