{"action":"created","issue":{"url":"https://api.github.com/repos/masak/007/issues/57","labels_url":"https://api.github.com/repos/masak/007/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/masak/007/issues/57/comments","events_url":"https://api.github.com/repos/masak/007/issues/57/events","html_url":"https://github.com/masak/007/issues/57","id":113040871,"number":57,"title":"Provide some much-needed common operators","user":{"login":"masak","id":20627,"avatar_url":"https://avatars.githubusercontent.com/u/20627?v=3","gravatar_id":"","url":"https://api.github.com/users/masak","html_url":"https://github.com/masak","followers_url":"https://api.github.com/users/masak/followers","following_url":"https://api.github.com/users/masak/following{/other_user}","gists_url":"https://api.github.com/users/masak/gists{/gist_id}","starred_url":"https://api.github.com/users/masak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masak/subscriptions","organizations_url":"https://api.github.com/users/masak/orgs","repos_url":"https://api.github.com/users/masak/repos","events_url":"https://api.github.com/users/masak/events{/privacy}","received_events_url":"https://api.github.com/users/masak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sergot","id":1027825,"avatar_url":"https://avatars.githubusercontent.com/u/1027825?v=3","gravatar_id":"","url":"https://api.github.com/users/sergot","html_url":"https://github.com/sergot","followers_url":"https://api.github.com/users/sergot/followers","following_url":"https://api.github.com/users/sergot/following{/other_user}","gists_url":"https://api.github.com/users/sergot/gists{/gist_id}","starred_url":"https://api.github.com/users/sergot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergot/subscriptions","organizations_url":"https://api.github.com/users/sergot/orgs","repos_url":"https://api.github.com/users/sergot/repos","events_url":"https://api.github.com/users/sergot/events{/privacy}","received_events_url":"https://api.github.com/users/sergot/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-10-23T15:17:27Z","updated_at":"2015-11-24T22:11:38Z","closed_at":null,"body":"As part of #54, I think we'll realize there's a whole bunch of common operators missing.\r\n\r\n- [ ] arithmetic: `infix:<->` and `infix:<*>` (we'll skip `infix:</>` and `infix:<%>`)\r\n- [ ] string repetition: `infix:<x>`\r\n- [ ] array concat: `infix:<concat>` (I don't have an obvious symbolic name for this one. going for clarity until I find something nice. maybe even `concat(a, b)` would be preferable.)\r\n- [ ] head/tail cons: `infix:<::>`\r\n- [ ] array repetition: `infix:<xx>`\r\n- [ ] non-equality: `infix:<!=>`\r\n- [ ] comparisons: `infix:«<»`, `infix:«<=»`, `infix:«>»`, `infix:«>=»` (thinking of conservatively banning these for anything but ints and strs)\r\n- [ ] type matching: `infix:<~~>` (where `x ~~ T` would mean something like `type(x) == str(T)`)\r\n- [ ] boolean operators: `infix:<||>`, `infix:<&&>`, `prefix:<!>`\r\n\r\nAll these are kind of low-hanging fruit, though I'm sure there are interesting corner cases where we'd need excellent tests to make sure we don't introduce undefined behavior."},"comment":{"url":"https://api.github.com/repos/masak/007/issues/comments/159422334","html_url":"https://github.com/masak/007/issues/57#issuecomment-159422334","issue_url":"https://api.github.com/repos/masak/007/issues/57","id":159422334,"user":{"login":"vendethiel","id":199499,"avatar_url":"https://avatars.githubusercontent.com/u/199499?v=3","gravatar_id":"","url":"https://api.github.com/users/vendethiel","html_url":"https://github.com/vendethiel","followers_url":"https://api.github.com/users/vendethiel/followers","following_url":"https://api.github.com/users/vendethiel/following{/other_user}","gists_url":"https://api.github.com/users/vendethiel/gists{/gist_id}","starred_url":"https://api.github.com/users/vendethiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vendethiel/subscriptions","organizations_url":"https://api.github.com/users/vendethiel/orgs","repos_url":"https://api.github.com/users/vendethiel/repos","events_url":"https://api.github.com/users/vendethiel/events{/privacy}","received_events_url":"https://api.github.com/users/vendethiel/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T22:11:38Z","updated_at":"2015-11-24T22:11:38Z","body":"`::`, `@`, `++`, `^` are options."}}