Title: Documentation seems outdated · Issue #517 · haskell-github/github · GitHub
Open Graph Title: Documentation seems outdated · Issue #517 · haskell-github/github
X Title: Documentation seems outdated · Issue #517 · haskell-github/github
Description: The following code snippet is present in the documentation as a form of an example: import qualified GitHub as GH main :: IO () main = do possibleUser <- GH.github' GH.userInfoForR "phadej" print possibleUser However it actually doesn't ...
Open Graph Description: The following code snippet is present in the documentation as a form of an example: import qualified GitHub as GH main :: IO () main = do possibleUser <- GH.github' GH.userInfoForR "phadej" print p...
X Description: The following code snippet is present in the documentation as a form of an example: import qualified GitHub as GH main :: IO () main = do possibleUser <- GH.github' GH.userInfoForR "pha...
Opengraph URL: https://github.com/haskell-github/github/issues/517
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Documentation seems outdated","articleBody":"The following code snippet is present in the documentation as a form of an example: \r\n\r\n```hs\r\nimport qualified GitHub as GH\r\n\r\nmain :: IO ()\r\nmain = do\r\n possibleUser \u003c- GH.github' GH.userInfoForR \"phadej\"\r\n print possibleUser\r\n```\r\n\r\nHowever it actually doesn't even compile unless I do something like the following (which works and retrieves the info for that user):\r\n\r\n```hs\r\n{-# LANGUAGE OverloadedStrings #-}\r\n\r\nmodule Main (main) where\r\n\r\nimport qualified GitHub as GH\r\nimport GitHub.Internal.Prelude (pack)\r\n\r\nmain :: IO ()\r\nmain = do\r\n possibleUser \u003c- GH.github' GH.userInfoForR $ GH.mkUserName \"phadej\"\r\n print possibleUser\r\n```\r\n\r\nIs there wrong on my end or is it actually a known issue? I think other examples are also outdated. I can maybe go through them and try to make them work.","author":{"url":"https://github.com/joaovaladares","@type":"Person","name":"joaovaladares"},"datePublished":"2025-01-03T02:28:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/517/github/issues/517"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:da258323-4d49-b4ac-15d7-b7b0878132a9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9104:3A8D90:DB3F506:11CC27E5:69770FF0 |
| html-safe-nonce | dcae7d77d11fd0e9f3c3962f9901d074747de42cd514a32e7a5de72906b946e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTA0OjNBOEQ5MDpEQjNGNTA2OjExQ0MyN0U1OjY5NzcwRkYwIiwidmlzaXRvcl9pZCI6IjM0ODEwNTA5MDMzMjAzOTk4NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4d141b156259c3840d7d51728864894829ec8870964c0d3b33301a768f0805a0 |
| hovercard-subject-tag | issue:2766887385 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/haskell-github/github/517/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c0c0b032af3be339db4ca5bf13c1c0d4b9d19da48b0a53cb5391d017fec9109/haskell-github/github/issues/517 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c0c0b032af3be339db4ca5bf13c1c0d4b9d19da48b0a53cb5391d017fec9109/haskell-github/github/issues/517 |
| og:image:alt | The following code snippet is present in the documentation as a form of an example: import qualified GitHub as GH main :: IO () main = do possibleUser <- GH.github' GH.userInfoForR "phadej" print p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | joaovaladares |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| go-import | github.com/haskell-github/github git https://github.com/haskell-github/github.git |
| octolytics-dimension-user_id | 101745265 |
| octolytics-dimension-user_login | haskell-github |
| octolytics-dimension-repository_id | 2677437 |
| octolytics-dimension-repository_nwo | haskell-github/github |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2677437 |
| octolytics-dimension-repository_network_root_nwo | haskell-github/github |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width