{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/55","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/55/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/55/events","html_url":"https://github.com/commercialhaskell/stack/issues/55","id":80221730,"number":55,"title":"`stack hoogle` command","user":{"login":"chrisdone","id":11019,"avatar_url":"https://avatars3.githubusercontent.com/u/11019?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisdone","html_url":"https://github.com/chrisdone","followers_url":"https://api.github.com/users/chrisdone/followers","following_url":"https://api.github.com/users/chrisdone/following{/other_user}","gists_url":"https://api.github.com/users/chrisdone/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdone/subscriptions","organizations_url":"https://api.github.com/users/chrisdone/orgs","repos_url":"https://api.github.com/users/chrisdone/repos","events_url":"https://api.github.com/users/chrisdone/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdone/received_events","type":"User","site_admin":false},"labels":[{"id":290126317,"url":"https://api.github.com/repos/commercialhaskell/stack/labels/component:%20haddock","name":"component: haddock","color":"bfdadc","default":false},{"id":205827133,"url":"https://api.github.com/repos/commercialhaskell/stack/labels/type:%20enhancement","name":"type: enhancement","color":"fad8c7","default":false}],"state":"closed","locked":false,"assignee":{"login":"borsboom","id":2164261,"avatar_url":"https://avatars0.githubusercontent.com/u/2164261?v=4","gravatar_id":"","url":"https://api.github.com/users/borsboom","html_url":"https://github.com/borsboom","followers_url":"https://api.github.com/users/borsboom/followers","following_url":"https://api.github.com/users/borsboom/following{/other_user}","gists_url":"https://api.github.com/users/borsboom/gists{/gist_id}","starred_url":"https://api.github.com/users/borsboom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borsboom/subscriptions","organizations_url":"https://api.github.com/users/borsboom/orgs","repos_url":"https://api.github.com/users/borsboom/repos","events_url":"https://api.github.com/users/borsboom/events{/privacy}","received_events_url":"https://api.github.com/users/borsboom/received_events","type":"User","site_admin":false},"assignees":[{"login":"borsboom","id":2164261,"avatar_url":"https://avatars0.githubusercontent.com/u/2164261?v=4","gravatar_id":"","url":"https://api.github.com/users/borsboom","html_url":"https://github.com/borsboom","followers_url":"https://api.github.com/users/borsboom/followers","following_url":"https://api.github.com/users/borsboom/following{/other_user}","gists_url":"https://api.github.com/users/borsboom/gists{/gist_id}","starred_url":"https://api.github.com/users/borsboom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borsboom/subscriptions","organizations_url":"https://api.github.com/users/borsboom/orgs","repos_url":"https://api.github.com/users/borsboom/repos","events_url":"https://api.github.com/users/borsboom/events{/privacy}","received_events_url":"https://api.github.com/users/borsboom/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/6","html_url":"https://github.com/commercialhaskell/stack/milestone/6","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/6/labels","id":1191309,"number":6,"title":"P2: Should","description":"Arbitrary date chosen, just to get the milestones to order nicely","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars3.githubusercontent.com/u/49415?v=4","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"open_issues":241,"closed_issues":363,"state":"open","created_at":"2015-07-02T18:20:49Z","updated_at":"2018-04-09T19:15:59Z","due_on":"2016-12-31T08:00:00Z","closed_at":null},"comments":17,"created_at":"2015-05-24T17:44:07Z","updated_at":"2018-04-10T20:44:09Z","closed_at":"2016-06-27T14:40:55Z","author_association":"OWNER","body":"I want this! It should:\n1. Run hoogle with the right database according to the stack config in the directory in which it's run (so it's easily ran from a terminal or by IDEs).\n2. Automatically download the hoogle database from stackage.org e.g. `https://www.stackage.org/snapshot/lts-2.1/db.hoo` for lts-2.1.\n3. Put it in some reasonable place like `~/.stack/hoogle-databases/lts-2.1.hoo`.\n4. Or when running inside docker, use the hoogle database provided by the docker.\n\nThe last docker point means we probably need to sync up some things.\n\nWith this command I could provide some nice Emacs support with a live hoogle search buffer, and I'd basically never have to leave Emacs to open my browser to read docs again. This closes off two big pain points for me: (1) always having to open the browser and leave my editor environment, (2) needing an internet connection to view docs. This will also basically make my whole `haskell-docs` package redundant which I'll be able to deprecate in favor of `stack`.\n\nPinging @manny-fp and @snoyberg for feedback/opinions.\n"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/380240390","html_url":"https://github.com/commercialhaskell/stack/issues/55#issuecomment-380240390","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/55","id":380240390,"user":{"login":"ndmitchell","id":1651197,"avatar_url":"https://avatars1.githubusercontent.com/u/1651197?v=4","gravatar_id":"","url":"https://api.github.com/users/ndmitchell","html_url":"https://github.com/ndmitchell","followers_url":"https://api.github.com/users/ndmitchell/followers","following_url":"https://api.github.com/users/ndmitchell/following{/other_user}","gists_url":"https://api.github.com/users/ndmitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/ndmitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndmitchell/subscriptions","organizations_url":"https://api.github.com/users/ndmitchell/orgs","repos_url":"https://api.github.com/users/ndmitchell/repos","events_url":"https://api.github.com/users/ndmitchell/events{/privacy}","received_events_url":"https://api.github.com/users/ndmitchell/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T20:44:09Z","updated_at":"2018-04-10T20:44:09Z","author_association":"CONTRIBUTOR","body":"If it's in the list suggest searching for `package:Foo a` and see what comes up. Is it a case of not indexing anything in `Foo`? Or just that this particular function is not being indexed for some reason."}}
{"actor":{"display_login":"ndmitchell"}}