Codeforces.Types.Rank
data RankColor Source #
Constructors
Defined in Codeforces.Types.Rank
Methods
(==) :: RankColor -> RankColor -> Bool #
(/=) :: RankColor -> RankColor -> Bool #
showsPrec :: Int -> RankColor -> ShowS #
show :: RankColor -> String #
showList :: [RankColor] -> ShowS #
type RatingBounds = (Rating, Rating) Source #
data Rank Source #
Fields
(==) :: Rank -> Rank -> Bool #
(/=) :: Rank -> Rank -> Bool #
showsPrec :: Int -> Rank -> ShowS #
show :: Rank -> String #
showList :: [Rank] -> ShowS #
ranks :: [Rank] Source #
A list of all Codeforces ranks.
getRank :: Rating -> Rank Source #
Finds the Rank that matches the supplied rating.
Rank