Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
newRepoHomepage :: NewRepo -> !Maybe Textgithub GitHub.Data.Repos No documentation available.
repoHasPages :: Repo -> !Maybe Boolgithub GitHub.Data.Repos No documentation available.
repoHomepage :: Repo -> !Maybe Textgithub GitHub.Data.Repos No documentation available.
FetchPage :: PageParams -> FetchCountgithub GitHub.Data.Request No documentation available.
WebhookPageBuildEvent :: RepoWebhookEventgithub GitHub.Data.Webhooks No documentation available.
parsePageLinks :: Response a -> PageLinksgithub GitHub.Request Parse the PageLinks from an HTTP response, where the information is encoded in the Link header.
-
github GitHub.Request Helper for making paginated requests. Responses, a are combined monoidally. The result is wrapped in the last received Response.
performPagedRequest :: (FromJSON a, Semigroup a) => (Request -> ExceptT Error IO (Response ByteString)) -> (a -> Bool) -> Request -> ExceptT Error IO (Response a)
queryGitHubPage :: (MonadGitHubREST m, FromJSON a) => GHEndpoint -> m (a, PageLinks)github-rest GitHub.REST Query GitHub, returning (payload, links) if successful, where payload is the response that GitHub sent back and links containing any pagination links GitHub may have sent back. If the response could not be decoded as JSON, returns Left (error message, response from server). Errors on network connection failures, if GitHub sent back an error message, or if the response could not be decoded as JSON. Use githubTry if you wish to handle GitHub errors.
queryGitHubPage :: (MonadGitHubREST m, FromJSON a) => GHEndpoint -> m (a, PageLinks)github-rest GitHub.REST.Monad Query GitHub, returning (payload, links) if successful, where payload is the response that GitHub sent back and links containing any pagination links GitHub may have sent back. If the response could not be decoded as JSON, returns Left (error message, response from server). Errors on network connection failures, if GitHub sent back an error message, or if the response could not be decoded as JSON. Use githubTry if you wish to handle GitHub errors.
queryGitHubPageIO :: FromJSON a => GitHubManager -> GHEndpoint -> IO (a, PageLinks)github-rest GitHub.REST.Monad Same as queryGitHubPage, except explicitly taking in GitHubManager and running in IO. Useful for implementing MonadGitHubREST outside of GitHubT.