{"action":"created","issue":{"url":"https://api.github.com/repos/ponylang/rfcs/issues/30","repository_url":"https://api.github.com/repos/ponylang/rfcs","labels_url":"https://api.github.com/repos/ponylang/rfcs/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/ponylang/rfcs/issues/30/comments","events_url":"https://api.github.com/repos/ponylang/rfcs/issues/30/events","html_url":"https://github.com/ponylang/rfcs/pull/30","id":174649413,"number":30,"title":"Extend the itertools package","user":{"login":"Theodus","id":9407624,"avatar_url":"https://avatars.githubusercontent.com/u/9407624?v=3","gravatar_id":"","url":"https://api.github.com/users/Theodus","html_url":"https://github.com/Theodus","followers_url":"https://api.github.com/users/Theodus/followers","following_url":"https://api.github.com/users/Theodus/following{/other_user}","gists_url":"https://api.github.com/users/Theodus/gists{/gist_id}","starred_url":"https://api.github.com/users/Theodus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Theodus/subscriptions","organizations_url":"https://api.github.com/users/Theodus/orgs","repos_url":"https://api.github.com/users/Theodus/repos","events_url":"https://api.github.com/users/Theodus/events{/privacy}","received_events_url":"https://api.github.com/users/Theodus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ponylang/rfcs/labels/final%20comment%20period","name":"final comment period","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-01T23:31:09Z","updated_at":"2016-09-11T16:00:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ponylang/rfcs/pulls/30","html_url":"https://github.com/ponylang/rfcs/pull/30","diff_url":"https://github.com/ponylang/rfcs/pull/30.diff","patch_url":"https://github.com/ponylang/rfcs/pull/30.patch"},"body":"[Rendered](https://github.com/Theodus/rfcs/blob/extend-itertools/text/0000-extend-itertools.md)"},"comment":{"url":"https://api.github.com/repos/ponylang/rfcs/issues/comments/246187804","html_url":"https://github.com/ponylang/rfcs/pull/30#issuecomment-246187804","issue_url":"https://api.github.com/repos/ponylang/rfcs/issues/30","id":246187804,"user":{"login":"jemc","id":4623870,"avatar_url":"https://avatars.githubusercontent.com/u/4623870?v=3","gravatar_id":"","url":"https://api.github.com/users/jemc","html_url":"https://github.com/jemc","followers_url":"https://api.github.com/users/jemc/followers","following_url":"https://api.github.com/users/jemc/following{/other_user}","gists_url":"https://api.github.com/users/jemc/gists{/gist_id}","starred_url":"https://api.github.com/users/jemc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jemc/subscriptions","organizations_url":"https://api.github.com/users/jemc/orgs","repos_url":"https://api.github.com/users/jemc/repos","events_url":"https://api.github.com/users/jemc/events{/privacy}","received_events_url":"https://api.github.com/users/jemc/received_events","type":"User","site_admin":false},"created_at":"2016-09-11T16:00:54Z","updated_at":"2016-09-11T16:00:54Z","body":"I agree with @SeanTAllen that some of the pipeline operators would be quite helpful for creating the UX that @ryanai3 wants.  But I also wanted to make a couple of other points:\r\n\r\nIf we wanted to \"bake these in\" as methods, I'd rather do it on a type like `Iterator` than one like `Seq`, as a `Seq.values` is only one kind of possible iterator.  That is, anywhere you have a `Seq`, you can turn it into an `Iterator`, but not vice versa.\r\n\r\nAlso, it seems like it would be trivial to add a \"wrapper\" object to the itertools package that wrapped a normal `Iterator`, and provided the various itertools operations as methods.  For example: `Itertools(my_seq.values()).map(...).zip(...).fold(...)`.  This should provide the desired convenience, while not limiting other uses of the `Map`, `Zip`, and `Fold` types, if this convenience is something we decide that we need.\r\n"}}
{"actor":{"display_login":"jemc"}}