codeforces-cli-0.1.0: Command line interface to interact with Codeforces.
Safe HaskellNone
LanguageHaskell2010

Codeforces.Virtual.Types

Synopsis

Documentation

virtualParty :: Party Source #

A Party representing the user's virtual participation.

data VirtualUser Source #

Represents the virtual participation of the user in this contest.

Constructors

VirtualUser 

Fields

Instances

Instances details
Show VirtualUser Source # 
Instance details

Defined in Codeforces.Virtual.Types

type Delta = Int Source #

Difference in rating between a user's current rating, and their rating following this contest.

type Seed = Float Source #

The seed is the expected ranking for each participant before the contest begins.

A contestant's rating increases should they perform better than their seed, and decreases should they perform worse.

data Contestant Source #

The participation of a user in a contest.

Instances

Instances details
Eq Contestant Source # 
Instance details

Defined in Codeforces.Virtual.Types

Show Contestant Source # 
Instance details

Defined in Codeforces.Virtual.Types

findContestant :: Party -> [Contestant] -> Maybe Contestant Source #

Finds a single contestant from the given Party, or Nothing if none found.

data VirtualResult Source #

A virtual participation result

Instances

Instances details
Show VirtualResult Source # 
Instance details

Defined in Codeforces.Virtual.Types