| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Parse
- dropLine :: Parser ()
- value :: ASetter Repo Repo t a -> Text -> Parser a -> Parser Repo
- date :: Parser (Maybe Date)
- integer :: Parser (Maybe Integer)
- str :: Parser (Maybe Text)
- parseCreated :: Parser Repo
- parseUpdated :: Parser Repo
- parsePushed :: Parser Repo
- parseSizeParser :: Parser Repo
- parseStargazers :: Parser Repo
- parseWatchers_count :: Parser Repo
- parseLang :: Parser Repo
- parseForkCount :: Parser Repo
- parseOpenIssues :: Parser Repo
- parseWatchers :: Parser Repo
- parseNetworkCount :: Parser Repo
- parseSubscribers :: Parser Repo
- parseLine :: Parser Repo
- parseLines :: Parser Repo
Documentation
value :: ASetter Repo Repo t a -> Text -> Parser a -> Parser Repo Source
Parse a value, given a setter, header string, and body parser
parseCreated :: Parser Repo Source
parseCreated=valuecreated_at " "created_at": " date
parseUpdated :: Parser Repo Source
parseUpdated=valueupdated_at " "updated_at": " date
parsePushed :: Parser Repo Source
parsePushed=valuepushed_at " "pushed_at": " date
parseSizeParser :: Parser Repo Source
parseSizeParser=valuesize " "size": " integer
parseStargazers :: Parser Repo Source
parseStargazers=valuestargazers_count " "stargazers_count": " integer
parseWatchers_count :: Parser Repo Source
parseWatchers_count=valuewatchers_count " "watchers_count": " integer
parseForkCount :: Parser Repo Source
parseForkCount=valueforks_count " "forks_count": " integer
parseOpenIssues :: Parser Repo Source
parseOpenIssues=valueopen_issues_count " "open_issues_count": " integer
parseWatchers :: Parser Repo Source
parseWatchers=valuewatchers " "watchers": " integer
parseNetworkCount :: Parser Repo Source
parseNetworkCount=valuenetwork_count " "network_count": " integer
parseSubscribers :: Parser Repo Source
parseSubscribers=valuesubscribers_count " "subscribers_count": " integer
parseLines :: Parser Repo Source
Parse a bunch of lines into Repos