{"action":"created","issue":{"url":"https://api.github.com/repos/perl6/doc/issues/1681","repository_url":"https://api.github.com/repos/perl6/doc","labels_url":"https://api.github.com/repos/perl6/doc/issues/1681/labels{/name}","comments_url":"https://api.github.com/repos/perl6/doc/issues/1681/comments","events_url":"https://api.github.com/repos/perl6/doc/issues/1681/events","html_url":"https://github.com/perl6/doc/pull/1681","id":275179960,"number":1681,"title":"Rewrite, remove inaccurate Range truncation info","user":{"login":"jstuder-gh","id":10088878,"avatar_url":"https://avatars0.githubusercontent.com/u/10088878?v=4","gravatar_id":"","url":"https://api.github.com/users/jstuder-gh","html_url":"https://github.com/jstuder-gh","followers_url":"https://api.github.com/users/jstuder-gh/followers","following_url":"https://api.github.com/users/jstuder-gh/following{/other_user}","gists_url":"https://api.github.com/users/jstuder-gh/gists{/gist_id}","starred_url":"https://api.github.com/users/jstuder-gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstuder-gh/subscriptions","organizations_url":"https://api.github.com/users/jstuder-gh/orgs","repos_url":"https://api.github.com/users/jstuder-gh/repos","events_url":"https://api.github.com/users/jstuder-gh/events{/privacy}","received_events_url":"https://api.github.com/users/jstuder-gh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-19T18:21:27Z","updated_at":"2017-11-19T18:21:56Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/perl6/doc/pulls/1681","html_url":"https://github.com/perl6/doc/pull/1681","diff_url":"https://github.com/perl6/doc/pull/1681.diff","patch_url":"https://github.com/perl6/doc/pull/1681.patch"},"body":"Previously, this section stated that:\r\n\r\n* All ranges (including non-lazy ones) will truncate the output/ omit\r\n  undefined elements.\r\n\r\nRewrote the section to remove that inaccuracy and address the following:\r\n\r\n* If the element at index [x] does not exist then the result will be an\r\n  undefined element (when subscripting Positionals).\r\n     * This behavior can be modified using the :v adverb.\r\n* Using lazy Iterables as subscripts yields a different behavior. Only\r\n  returns defined elements (most of the time; see bullets below).\r\n    * Behind the scenes the elements of the lazy subscript are being\r\n      reified up until the point that the element in the Positional\r\n      is undefined.\r\n    * Continued use of lazy Lists will begin to return undefined\r\n      elements as new elements in the lazy List are reified.\r\n* Include justification for these behaviors. Sometimes returning\r\n  undefined elements is desirable.\r\n    * DESIRABLE:     assignment. eg @a[^10] = 1..10;\r\n    * NOT DESIRABLE: Out-of-memory due to uncontrolled indexing.\r\n\r\nThis removes some information about lack of protection against runaway\r\nslices and reification of subscript elements in instances where the\r\nundefined values are not being returned from the collection (eg,\r\ninstances where the same index is being used over and over again). This\r\nseemed a little out of place in this section and probably fits better\r\nelsewhere. Perhaps it would be appropriate in the Traps section?\r\n\r\nSEE ALSO:\r\n    [Issue #1679](https://github.com/perl6/doc/issues/1679)\r\n    https://irclog.perlgeek.de/perl6/2017-11-18#i_15466865"},"comment":{"url":"https://api.github.com/repos/perl6/doc/issues/comments/345537952","html_url":"https://github.com/perl6/doc/pull/1681#issuecomment-345537952","issue_url":"https://api.github.com/repos/perl6/doc/issues/1681","id":345537952,"user":{"login":"jstuder-gh","id":10088878,"avatar_url":"https://avatars0.githubusercontent.com/u/10088878?v=4","gravatar_id":"","url":"https://api.github.com/users/jstuder-gh","html_url":"https://github.com/jstuder-gh","followers_url":"https://api.github.com/users/jstuder-gh/followers","following_url":"https://api.github.com/users/jstuder-gh/following{/other_user}","gists_url":"https://api.github.com/users/jstuder-gh/gists{/gist_id}","starred_url":"https://api.github.com/users/jstuder-gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstuder-gh/subscriptions","organizations_url":"https://api.github.com/users/jstuder-gh/orgs","repos_url":"https://api.github.com/users/jstuder-gh/repos","events_url":"https://api.github.com/users/jstuder-gh/events{/privacy}","received_events_url":"https://api.github.com/users/jstuder-gh/received_events","type":"User","site_admin":false},"created_at":"2017-11-19T18:21:56Z","updated_at":"2017-11-19T18:21:56Z","author_association":"CONTRIBUTOR","body":"Looking for review from more senior members as this is a substantial rewrite of this section. Thanks."}}
{"actor":{"display_login":"jstuder-gh"}}