| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Codeforces.Types.Problem
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 #
Constructors
| Programming | |
| Question |
Instances
| Show ProblemType Source # | |
Defined in Codeforces.Types.Problem Methods showsPrec :: Int -> ProblemType -> ShowS # show :: ProblemType -> String # showList :: [ProblemType] -> ShowS # | |
| FromJSON ProblemType Source # | |
Defined in Codeforces.Types.Problem | |
Constructors
| Problem | |
Fields
| |
data ProblemStats Source #
Constructors
| ProblemStats | |
Fields | |
Instances
| Show ProblemStats Source # | |
Defined in Codeforces.Types.Problem Methods showsPrec :: Int -> ProblemStats -> ShowS # show :: ProblemStats -> String # showList :: [ProblemStats] -> ShowS # | |
| FromJSON ProblemStats Source # | |
Defined in Codeforces.Types.Problem | |
data ProblemsResponse Source #
Problem data returned by the API contains two lists: a list of problems followed by a list of corresponding problem statistics.
Constructors
| ProblemsResponse | |
Fields
| |
Instances
| Show ProblemsResponse Source # | |
Defined in Codeforces.Types.Problem Methods showsPrec :: Int -> ProblemsResponse -> ShowS # show :: ProblemsResponse -> String # showList :: [ProblemsResponse] -> ShowS # | |
| FromJSON ProblemsResponse Source # | |
Defined in Codeforces.Types.Problem Methods parseJSON :: Value -> Parser ProblemsResponse # parseJSONList :: Value -> Parser [ProblemsResponse] # | |