-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Description
The example for issuesForRepo at https://hackage.haskell.org/package/github-0.16.0/docs/GitHub-Endpoints-Issues.html does not seem to work.
issuesForRepo "thoughtbot" "paperclip" [NoMilestone, OnlyClosed, Mentions "jyurek", Ascending]E.g. OnlyClosed is nowhere defined.
The documentation for IssueRepoMod at https://hackage.haskell.org/package/github-0.16.0/docs/GitHub-Data-Options.html#t:IssueRepoMod just says
data IssueRepoMod(no constructors exported).
There are a few smart constructors for IssueRepoMod, but all are boring, none lets me, for instance, filter by a milestone or issue status.
I tried to get help by looking at the supplied examples, e.g. https://github.com/phadej/github/blob/master/samples/Issues/IssueReport/Issues.hs
...
import qualified Github.Issues as Github
...
main = do
let limitations = [Github.OnlyClosed, Github.MilestoneId 4]
possibleIssues <- Github.issuesForRepo' auth "paulrzcz" "hquantlib" limitations
...None of this works. For instance, neither Github nor Github.Issues exists as module.
??
gabriel-bezerra
Metadata
Metadata
Assignees
Labels
No labels