{"action":"created","issue":{"url":"https://api.github.com/repos/deoxxa/dotty/issues/18","labels_url":"https://api.github.com/repos/deoxxa/dotty/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/deoxxa/dotty/issues/18/comments","events_url":"https://api.github.com/repos/deoxxa/dotty/issues/18/events","html_url":"https://github.com/deoxxa/dotty/pull/18","id":124429472,"number":18,"title":"Callback on each item in search","user":{"login":"AshKyd","id":49600,"avatar_url":"https://avatars.githubusercontent.com/u/49600?v=3","gravatar_id":"","url":"https://api.github.com/users/AshKyd","html_url":"https://github.com/AshKyd","followers_url":"https://api.github.com/users/AshKyd/followers","following_url":"https://api.github.com/users/AshKyd/following{/other_user}","gists_url":"https://api.github.com/users/AshKyd/gists{/gist_id}","starred_url":"https://api.github.com/users/AshKyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AshKyd/subscriptions","organizations_url":"https://api.github.com/users/AshKyd/orgs","repos_url":"https://api.github.com/users/AshKyd/repos","events_url":"https://api.github.com/users/AshKyd/events{/privacy}","received_events_url":"https://api.github.com/users/AshKyd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-31T03:57:29Z","updated_at":"2016-01-27T02:13:49Z","closed_at":"2016-01-14T13:18:58Z","pull_request":{"url":"https://api.github.com/repos/deoxxa/dotty/pulls/18","html_url":"https://github.com/deoxxa/dotty/pull/18","diff_url":"https://github.com/deoxxa/dotty/pull/18.diff","patch_url":"https://github.com/deoxxa/dotty/pull/18.patch"},"body":"My use case: I'd like to delete a bunch of values using the search syntax.\r\n\r\nThis change:\r\n\r\n* Adds an optional `action` argument to the `search` function, which gets called each time a key is matched.\r\n* Adds a `removeSearch` function with the same signature as the `remove` function, which delegates to `search` with a function to delete each match.\r\n* Tests and misc.\r\n\r\nThis doesn't break existing tests, and could potentially be extended further to add a corresponding `putSearch` method. \r\n\r\nAlso, wasn't sure how your `docs/` folder is generated, let me know and I'll look into that too."},"comment":{"url":"https://api.github.com/repos/deoxxa/dotty/issues/comments/175344320","html_url":"https://github.com/deoxxa/dotty/pull/18#issuecomment-175344320","issue_url":"https://api.github.com/repos/deoxxa/dotty/issues/18","id":175344320,"user":{"login":"miketheprogrammer","id":1361339,"avatar_url":"https://avatars.githubusercontent.com/u/1361339?v=3","gravatar_id":"","url":"https://api.github.com/users/miketheprogrammer","html_url":"https://github.com/miketheprogrammer","followers_url":"https://api.github.com/users/miketheprogrammer/followers","following_url":"https://api.github.com/users/miketheprogrammer/following{/other_user}","gists_url":"https://api.github.com/users/miketheprogrammer/gists{/gist_id}","starred_url":"https://api.github.com/users/miketheprogrammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miketheprogrammer/subscriptions","organizations_url":"https://api.github.com/users/miketheprogrammer/orgs","repos_url":"https://api.github.com/users/miketheprogrammer/repos","events_url":"https://api.github.com/users/miketheprogrammer/events{/privacy}","received_events_url":"https://api.github.com/users/miketheprogrammer/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T02:13:49Z","updated_at":"2016-01-27T02:13:49Z","body":"Oh I didn't know that. Okay cool I'll make sure to publish\nOn Jan 26, 2016 8:03 PM, \"Conrad Pankoff\" <notifications@github.com> wrote:\n\n> It appears you're already an owner on NPM - is it not working for you?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/deoxxa/dotty/pull/18#issuecomment-175320857>.\n>\n"}}