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

Codeforces.Types.Common

Description

Common types used across the application.

Synopsis

Documentation

newtype ContestId Source #

ID of the contest.

Not to be confused with contest round number. The ID appears in the contest URL, for example in: https://codeforces.com/contest/566/status.

Constructors

ContestId 

Fields

newtype Handle Source #

Codeforces user handle.

Constructors

Handle 

Fields

Instances

Instances details
Eq Handle Source # 
Instance details

Defined in Codeforces.Types.Common

Methods

(==) :: Handle -> Handle -> Bool #

(/=) :: Handle -> Handle -> Bool #

Ord Handle Source # 
Instance details

Defined in Codeforces.Types.Common

Show Handle Source # 
Instance details

Defined in Codeforces.Types.Common

ToJSON Handle Source # 
Instance details

Defined in Codeforces.Types.Common

FromJSON Handle Source # 
Instance details

Defined in Codeforces.Types.Common

type Points = Float Source #

Number of points gained for a submission or across a contest.

type ProblemIndex = Text Source #

A letter, or letter with digit(s) indicating the problem index in a contest.

type Rating = Int Source #

User or problem rating.