You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code snippet is present in the documentation as a form of an example:
importqualifiedGitHubasGHmain::IO()
main =do
possibleUser <-GH.github' GH.userInfoForR "phadej"print possibleUser
However it actually doesn't even compile unless I do something like the following (which works and retrieves the info for that user):
{-# LANGUAGE OverloadedStrings #-}
moduleMain (main) whereimportqualifiedGitHubasGHimportGitHub.Internal.Prelude (pack)
main::IO()
main =do
possibleUser <-GH.github' GH.userInfoForR $GH.mkUserName "phadej"print possibleUser
Is 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.
The text was updated successfully, but these errors were encountered:
The following code snippet is present in the documentation as a form of an example:
However it actually doesn't even compile unless I do something like the following (which works and retrieves the info for that user):
Is 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.
The text was updated successfully, but these errors were encountered: