Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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
=value
created_at " "created_at": " date
parseUpdated :: Parser Repo Source
parseUpdated
=value
updated_at " "updated_at": " date
parsePushed :: Parser Repo Source
parsePushed
=value
pushed_at " "pushed_at": " date
parseSizeParser :: Parser Repo Source
parseSizeParser
=value
size " "size": " integer
parseStargazers :: Parser Repo Source
parseStargazers
=value
stargazers_count " "stargazers_count": " integer
parseWatchers_count :: Parser Repo Source
parseWatchers_count
=value
watchers_count " "watchers_count": " integer
parseForkCount :: Parser Repo Source
parseForkCount
=value
forks_count " "forks_count": " integer
parseOpenIssues :: Parser Repo Source
parseOpenIssues
=value
open_issues_count " "open_issues_count": " integer
parseWatchers :: Parser Repo Source
parseWatchers
=value
watchers " "watchers": " integer
parseNetworkCount :: Parser Repo Source
parseNetworkCount
=value
network_count " "network_count": " integer
parseSubscribers :: Parser Repo Source
parseSubscribers
=value
subscribers_count " "subscribers_count": " integer
parseLines :: Parser Repo Source
Parse a bunch of lines into Repo
s