{"action":"created","issue":{"url":"https://api.github.com/repos/MetaStack-pl/MetaRx/issues/20","labels_url":"https://api.github.com/repos/MetaStack-pl/MetaRx/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/MetaStack-pl/MetaRx/issues/20/comments","events_url":"https://api.github.com/repos/MetaStack-pl/MetaRx/issues/20/events","html_url":"https://github.com/MetaStack-pl/MetaRx/issues/20","id":105602931,"number":20,"title":"Add aritmetic operations for channels with numeric types","user":{"login":"mkotsbak","id":296523,"avatar_url":"https://avatars.githubusercontent.com/u/296523?v=3","gravatar_id":"","url":"https://api.github.com/users/mkotsbak","html_url":"https://github.com/mkotsbak","followers_url":"https://api.github.com/users/mkotsbak/followers","following_url":"https://api.github.com/users/mkotsbak/following{/other_user}","gists_url":"https://api.github.com/users/mkotsbak/gists{/gist_id}","starred_url":"https://api.github.com/users/mkotsbak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkotsbak/subscriptions","organizations_url":"https://api.github.com/users/mkotsbak/orgs","repos_url":"https://api.github.com/users/mkotsbak/repos","events_url":"https://api.github.com/users/mkotsbak/events{/privacy}","received_events_url":"https://api.github.com/users/mkotsbak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-09T14:03:05Z","updated_at":"2015-09-10T12:34:52Z","closed_at":null,"body":"Similar to #9, e.g. ReadChannel[Int] should have:\r\n\r\nval ch1 = Var(1)\r\nval ch2 = Var(2)\r\n\r\nval 3 = ch1 + ch2\r\n\r\nwhich implicitly calls map."},"comment":{"url":"https://api.github.com/repos/MetaStack-pl/MetaRx/issues/comments/139222038","html_url":"https://github.com/MetaStack-pl/MetaRx/issues/20#issuecomment-139222038","issue_url":"https://api.github.com/repos/MetaStack-pl/MetaRx/issues/20","id":139222038,"user":{"login":"tindzk","id":196819,"avatar_url":"https://avatars.githubusercontent.com/u/196819?v=3","gravatar_id":"","url":"https://api.github.com/users/tindzk","html_url":"https://github.com/tindzk","followers_url":"https://api.github.com/users/tindzk/followers","following_url":"https://api.github.com/users/tindzk/following{/other_user}","gists_url":"https://api.github.com/users/tindzk/gists{/gist_id}","starred_url":"https://api.github.com/users/tindzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tindzk/subscriptions","organizations_url":"https://api.github.com/users/tindzk/orgs","repos_url":"https://api.github.com/users/tindzk/repos","events_url":"https://api.github.com/users/tindzk/events{/privacy}","received_events_url":"https://api.github.com/users/tindzk/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T12:34:52Z","updated_at":"2015-09-10T12:34:52Z","body":"You can use the `Numeric` trait. See [this link](http://stackoverflow.com/questions/10160280/how-to-implement-generic-average-function-in-scala) for an example."}}