Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type ProblemTag = Text
- data ProblemType
- data Problem = Problem {}
- data ProblemStats = ProblemStats {}
- data ProblemsResponse = ProblemsResponse {
- prProblems :: [Problem]
- prStats :: [ProblemStats]
Documentation
type ProblemTag = Text Source #
data ProblemType Source #
Instances
Show ProblemType Source # | |
Defined in Codeforces.Types.Problem showsPrec :: Int -> ProblemType -> ShowS # show :: ProblemType -> String # showList :: [ProblemType] -> ShowS # | |
FromJSON ProblemType Source # | |
Defined in Codeforces.Types.Problem parseJSON :: Value -> Parser ProblemType # parseJSONList :: Value -> Parser [ProblemType] # |
Problem | |
|
data ProblemStats Source #
Instances
Show ProblemStats Source # | |
Defined in Codeforces.Types.Problem showsPrec :: Int -> ProblemStats -> ShowS # show :: ProblemStats -> String # showList :: [ProblemStats] -> ShowS # | |
FromJSON ProblemStats Source # | |
Defined in Codeforces.Types.Problem parseJSON :: Value -> Parser ProblemStats # parseJSONList :: Value -> Parser [ProblemStats] # |
data ProblemsResponse Source #
Problem data returned by the API contains two lists: a list of problems followed by a list of corresponding problem statistics.
ProblemsResponse | |
|
Instances
Show ProblemsResponse Source # | |
Defined in Codeforces.Types.Problem showsPrec :: Int -> ProblemsResponse -> ShowS # show :: ProblemsResponse -> String # showList :: [ProblemsResponse] -> ShowS # | |
FromJSON ProblemsResponse Source # | |
Defined in Codeforces.Types.Problem parseJSON :: Value -> Parser ProblemsResponse # parseJSONList :: Value -> Parser [ProblemsResponse] # |