{"action":"created","issue":{"url":"https://api.github.com/repos/coq/coq/issues/147","repository_url":"https://api.github.com/repos/coq/coq","labels_url":"https://api.github.com/repos/coq/coq/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/coq/coq/issues/147/comments","events_url":"https://api.github.com/repos/coq/coq/issues/147/events","html_url":"https://github.com/coq/coq/pull/147","id":138245260,"number":147,"title":"[search] Tweaks to search API","user":{"login":"ejgallego","id":7192257,"avatar_url":"https://avatars.githubusercontent.com/u/7192257?v=3","gravatar_id":"","url":"https://api.github.com/users/ejgallego","html_url":"https://github.com/ejgallego","followers_url":"https://api.github.com/users/ejgallego/followers","following_url":"https://api.github.com/users/ejgallego/following{/other_user}","gists_url":"https://api.github.com/users/ejgallego/gists{/gist_id}","starred_url":"https://api.github.com/users/ejgallego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejgallego/subscriptions","organizations_url":"https://api.github.com/users/ejgallego/orgs","repos_url":"https://api.github.com/users/ejgallego/repos","events_url":"https://api.github.com/users/ejgallego/events{/privacy}","received_events_url":"https://api.github.com/users/ejgallego/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-03T17:32:11Z","updated_at":"2016-04-07T12:38:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coq/coq/pulls/147","html_url":"https://github.com/coq/coq/pull/147","diff_url":"https://github.com/coq/coq/pull/147.diff","patch_url":"https://github.com/coq/coq/pull/147.patch"},"body":"The current `Search.search_*` API returns a large `Pp.std_ppcmds`\r\nobject which is the formatting of the search results.\r\n\r\nThis PR modifies the API so users can perform per-result processing of\r\nthe results. See each patch commit message for more details.\r\n\r\nThis PR offers minimal improvements to JsCoq, as now every search\r\nresult can be handled individually.\r\n\r\nIt should also be a first step towards killing the `interface_search`\r\nduplication that we discussed at\r\nhttps://sympa.inria.fr/sympa/arc/coqdev/2016-02/msg00008.html\r\n\r\ncc: @gmalecha"},"comment":{"url":"https://api.github.com/repos/coq/coq/issues/comments/206865309","html_url":"https://github.com/coq/coq/pull/147#issuecomment-206865309","issue_url":"https://api.github.com/repos/coq/coq/issues/147","id":206865309,"user":{"login":"mattam82","id":98373,"avatar_url":"https://avatars.githubusercontent.com/u/98373?v=3","gravatar_id":"","url":"https://api.github.com/users/mattam82","html_url":"https://github.com/mattam82","followers_url":"https://api.github.com/users/mattam82/followers","following_url":"https://api.github.com/users/mattam82/following{/other_user}","gists_url":"https://api.github.com/users/mattam82/gists{/gist_id}","starred_url":"https://api.github.com/users/mattam82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattam82/subscriptions","organizations_url":"https://api.github.com/users/mattam82/orgs","repos_url":"https://api.github.com/users/mattam82/repos","events_url":"https://api.github.com/users/mattam82/events{/privacy}","received_events_url":"https://api.github.com/users/mattam82/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T12:38:24Z","updated_at":"2016-04-07T12:38:24Z","body":"Personally I'm not an expert on the Search interfaces, but I think the move to regexp, constr_pattern and an algebraic search_constraint type goes in the right direction."}}