{"action":"opened","issue":{"url":"https://api.github.com/repos/cerebral/cerebral/issues/370","repository_url":"https://api.github.com/repos/cerebral/cerebral","labels_url":"https://api.github.com/repos/cerebral/cerebral/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/cerebral/cerebral/issues/370/comments","events_url":"https://api.github.com/repos/cerebral/cerebral/issues/370/events","html_url":"https://github.com/cerebral/cerebral/issues/370","id":185987392,"number":370,"title":"move generic operators to function-tree","user":{"login":"maxfrigge","id":11060313,"avatar_url":"https://avatars.githubusercontent.com/u/11060313?v=3","gravatar_id":"","url":"https://api.github.com/users/maxfrigge","html_url":"https://github.com/maxfrigge","followers_url":"https://api.github.com/users/maxfrigge/followers","following_url":"https://api.github.com/users/maxfrigge/following{/other_user}","gists_url":"https://api.github.com/users/maxfrigge/gists{/gist_id}","starred_url":"https://api.github.com/users/maxfrigge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxfrigge/subscriptions","organizations_url":"https://api.github.com/users/maxfrigge/orgs","repos_url":"https://api.github.com/users/maxfrigge/repos","events_url":"https://api.github.com/users/maxfrigge/events{/privacy}","received_events_url":"https://api.github.com/users/maxfrigge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-28T18:15:51Z","updated_at":"2016-10-28T18:15:51Z","closed_at":null,"body":"I think that common operators, which are not strictly bound to cerebral(ish) tasks, might be better off being maintained in the function-tree package. Chances are that other function-tree implementations will need some of that magic too :)\r\n\r\nWe could still add references in the cerebral package so that you can keep importing from `cerebral/operators` for better ease of use.\r\n\r\nHere's what I think should be moved - whatcha thinkin?\r\n\r\n- when\r\n- set\r\n- copy\r\n\r\nIt appears that set and copy have merge into one.. so just set would be sufficient. Set would work best when `target:path.to.prop` would point to `context.target.to.prop` ... that way you can access anything that's provided on the context."}}
{"actor":{"display_login":"maxfrigge"}}