{"action":"created","comment":{"url":"https://api.github.com/repos/uqbar-project/wollok/pulls/comments/67527051","id":67527051,"diff_hunk":"@@ -710,6 +740,48 @@ package lang {\n \t\t\treturn l\n \t\t}\n \t\t\n+\t\t/** @private */\n+\t\tmethod asList() {\n+\t\t\treturn self.map({ elem => return elem })\n+\t\t}\n+\t\t\n+\t\tmethod isEmpty() = self.size() == 0\n+\n+\t\tmethod fold(seed, foldClosure) { return self.asList().fold(seed, foldClosure) }\n+\t\tmethod size() { return end - start + 1 }","path":"org.uqbar.project.wollok.lib/src/wollok.wlk","position":137,"original_position":137,"commit_id":"1acdb9f7fd0e07f804ddee5dd7055e2128a76e38","original_commit_id":"1acdb9f7fd0e07f804ddee5dd7055e2128a76e38","user":{"login":"npasserini","id":4633913,"avatar_url":"https://avatars.githubusercontent.com/u/4633913?v=3","gravatar_id":"","url":"https://api.github.com/users/npasserini","html_url":"https://github.com/npasserini","followers_url":"https://api.github.com/users/npasserini/followers","following_url":"https://api.github.com/users/npasserini/following{/other_user}","gists_url":"https://api.github.com/users/npasserini/gists{/gist_id}","starred_url":"https://api.github.com/users/npasserini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npasserini/subscriptions","organizations_url":"https://api.github.com/users/npasserini/orgs","repos_url":"https://api.github.com/users/npasserini/repos","events_url":"https://api.github.com/users/npasserini/events{/privacy}","received_events_url":"https://api.github.com/users/npasserini/received_events","type":"User","site_admin":false},"body":"size does not take the step into account.","created_at":"2016-06-17T15:18:28Z","updated_at":"2016-06-17T15:18:28Z","html_url":"https://github.com/uqbar-project/wollok/pull/741#discussion_r67527051","pull_request_url":"https://api.github.com/repos/uqbar-project/wollok/pulls/741","_links":{"self":{"href":"https://api.github.com/repos/uqbar-project/wollok/pulls/comments/67527051"},"html":{"href":"https://github.com/uqbar-project/wollok/pull/741#discussion_r67527051"},"pull_request":{"href":"https://api.github.com/repos/uqbar-project/wollok/pulls/741"}}},"pull_request":{"url":"https://api.github.com/repos/uqbar-project/wollok/pulls/741","id":73841613,"html_url":"https://github.com/uqbar-project/wollok/pull/741","diff_url":"https://github.com/uqbar-project/wollok/pull/741.diff","patch_url":"https://github.com/uqbar-project/wollok/pull/741.patch","issue_url":"https://api.github.com/repos/uqbar-project/wollok/issues/741","number":741,"state":"closed","locked":false,"title":"Dev range api","user":{"login":"fdodino","id":4549002,"avatar_url":"https://avatars.githubusercontent.com/u/4549002?v=3","gravatar_id":"","url":"https://api.github.com/users/fdodino","html_url":"https://github.com/fdodino","followers_url":"https://api.github.com/users/fdodino/followers","following_url":"https://api.github.com/users/fdodino/following{/other_user}","gists_url":"https://api.github.com/users/fdodino/gists{/gist_id}","starred_url":"https://api.github.com/users/fdodino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdodino/subscriptions","organizations_url":"https://api.github.com/users/fdodino/orgs","repos_url":"https://api.github.com/users/fdodino/repos","events_url":"https://api.github.com/users/fdodino/events{/privacy}","received_events_url":"https://api.github.com/users/fdodino/received_events","type":"User","site_admin":false},"body":"Adds randomUpTo(other) to integer and real numbers.\r\nDeletes randomBetween(min, max) in Wollok object.\r\nAdds new methods in Range, polymorphic to Collection.\r\nAdds new javadoc comments in Integer and Range.\r\nFixes #730, #733 issues\r\n\r\nThis PR replaces old https://github.com/uqbar-project/wollok/pull/740, where base branch was erroneously master.","created_at":"2016-06-15T01:58:41Z","updated_at":"2016-06-17T15:18:28Z","closed_at":"2016-06-17T15:09:14Z","merged_at":"2016-06-17T15:09:14Z","merge_commit_sha":"924720c74263929cf785823729874b48f692008b","assignee":null,"milestone":{"url":"https://api.github.com/repos/uqbar-project/wollok/milestones/6","html_url":"https://github.com/uqbar-project/wollok/milestones/Wollok%20v1.5%20E","labels_url":"https://api.github.com/repos/uqbar-project/wollok/milestones/6/labels","id":1637001,"number":6,"title":"Wollok v1.5 E","description":"","creator":{"login":"javierfernandes","id":4428120,"avatar_url":"https://avatars.githubusercontent.com/u/4428120?v=3","gravatar_id":"","url":"https://api.github.com/users/javierfernandes","html_url":"https://github.com/javierfernandes","followers_url":"https://api.github.com/users/javierfernandes/followers","following_url":"https://api.github.com/users/javierfernandes/following{/other_user}","gists_url":"https://api.github.com/users/javierfernandes/gists{/gist_id}","starred_url":"https://api.github.com/users/javierfernandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierfernandes/subscriptions","organizations_url":"https://api.github.com/users/javierfernandes/orgs","repos_url":"https://api.github.com/users/javierfernandes/repos","events_url":"https://api.github.com/users/javierfernandes/events{/privacy}","received_events_url":"https://api.github.com/users/javierfernandes/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":8,"state":"open","created_at":"2016-03-10T16:32:55Z","updated_at":"2016-06-17T15:09:14Z","due_on":"2016-06-29T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/uqbar-project/wollok/pulls/741/commits","review_comments_url":"https://api.github.com/repos/uqbar-project/wollok/pulls/741/comments","review_comment_url":"https://api.github.com/repos/uqbar-project/wollok/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uqbar-project/wollok/issues/741/comments","statuses_url":"https://api.github.com/repos/uqbar-project/wollok/statuses/1acdb9f7fd0e07f804ddee5dd7055e2128a76e38","head":{"label":"uqbar-project:dev-range-api","ref":"dev-range-api","sha":"1acdb9f7fd0e07f804ddee5dd7055e2128a76e38","user":{"login":"uqbar-project","id":2975634,"avatar_url":"https://avatars.githubusercontent.com/u/2975634?v=3","gravatar_id":"","url":"https://api.github.com/users/uqbar-project","html_url":"https://github.com/uqbar-project","followers_url":"https://api.github.com/users/uqbar-project/followers","following_url":"https://api.github.com/users/uqbar-project/following{/other_user}","gists_url":"https://api.github.com/users/uqbar-project/gists{/gist_id}","starred_url":"https://api.github.com/users/uqbar-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uqbar-project/subscriptions","organizations_url":"https://api.github.com/users/uqbar-project/orgs","repos_url":"https://api.github.com/users/uqbar-project/repos","events_url":"https://api.github.com/users/uqbar-project/events{/privacy}","received_events_url":"https://api.github.com/users/uqbar-project/received_events","type":"Organization","site_admin":false},"repo":{"id":30089538,"name":"wollok","full_name":"uqbar-project/wollok","owner":{"login":"uqbar-project","id":2975634,"avatar_url":"https://avatars.githubusercontent.com/u/2975634?v=3","gravatar_id":"","url":"https://api.github.com/users/uqbar-project","html_url":"https://github.com/uqbar-project","followers_url":"https://api.github.com/users/uqbar-project/followers","following_url":"https://api.github.com/users/uqbar-project/following{/other_user}","gists_url":"https://api.github.com/users/uqbar-project/gists{/gist_id}","starred_url":"https://api.github.com/users/uqbar-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uqbar-project/subscriptions","organizations_url":"https://api.github.com/users/uqbar-project/orgs","repos_url":"https://api.github.com/users/uqbar-project/repos","events_url":"https://api.github.com/users/uqbar-project/events{/privacy}","received_events_url":"https://api.github.com/users/uqbar-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uqbar-project/wollok","description":"Wollok Programming Language","fork":false,"url":"https://api.github.com/repos/uqbar-project/wollok","forks_url":"https://api.github.com/repos/uqbar-project/wollok/forks","keys_url":"https://api.github.com/repos/uqbar-project/wollok/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uqbar-project/wollok/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uqbar-project/wollok/teams","hooks_url":"https://api.github.com/repos/uqbar-project/wollok/hooks","issue_events_url":"https://api.github.com/repos/uqbar-project/wollok/issues/events{/number}","events_url":"https://api.github.com/repos/uqbar-project/wollok/events","assignees_url":"https://api.github.com/repos/uqbar-project/wollok/assignees{/user}","branches_url":"https://api.github.com/repos/uqbar-project/wollok/branches{/branch}","tags_url":"https://api.github.com/repos/uqbar-project/wollok/tags","blobs_url":"https://api.github.com/repos/uqbar-project/wollok/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uqbar-project/wollok/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uqbar-project/wollok/git/refs{/sha}","trees_url":"https://api.github.com/repos/uqbar-project/wollok/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uqbar-project/wollok/statuses/{sha}","languages_url":"https://api.github.com/repos/uqbar-project/wollok/languages","stargazers_url":"https://api.github.com/repos/uqbar-project/wollok/stargazers","contributors_url":"https://api.github.com/repos/uqbar-project/wollok/contributors","subscribers_url":"https://api.github.com/repos/uqbar-project/wollok/subscribers","subscription_url":"https://api.github.com/repos/uqbar-project/wollok/subscription","commits_url":"https://api.github.com/repos/uqbar-project/wollok/commits{/sha}","git_commits_url":"https://api.github.com/repos/uqbar-project/wollok/git/commits{/sha}","comments_url":"https://api.github.com/repos/uqbar-project/wollok/comments{/number}","issue_comment_url":"https://api.github.com/repos/uqbar-project/wollok/issues/comments{/number}","contents_url":"https://api.github.com/repos/uqbar-project/wollok/contents/{+path}","compare_url":"https://api.github.com/repos/uqbar-project/wollok/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uqbar-project/wollok/merges","archive_url":"https://api.github.com/repos/uqbar-project/wollok/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uqbar-project/wollok/downloads","issues_url":"https://api.github.com/repos/uqbar-project/wollok/issues{/number}","pulls_url":"https://api.github.com/repos/uqbar-project/wollok/pulls{/number}","milestones_url":"https://api.github.com/repos/uqbar-project/wollok/milestones{/number}","notifications_url":"https://api.github.com/repos/uqbar-project/wollok/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uqbar-project/wollok/labels{/name}","releases_url":"https://api.github.com/repos/uqbar-project/wollok/releases{/id}","deployments_url":"https://api.github.com/repos/uqbar-project/wollok/deployments","created_at":"2015-01-30T20:31:27Z","updated_at":"2016-05-27T08:11:42Z","pushed_at":"2016-06-17T15:11:46Z","git_url":"git://github.com/uqbar-project/wollok.git","ssh_url":"git@github.com:uqbar-project/wollok.git","clone_url":"https://github.com/uqbar-project/wollok.git","svn_url":"https://github.com/uqbar-project/wollok","homepage":null,"size":20519,"stargazers_count":17,"watchers_count":17,"language":"Xtend","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":256,"forks":3,"open_issues":256,"watchers":17,"default_branch":"master"}},"base":{"label":"uqbar-project:dev","ref":"dev","sha":"661b1e39db666a6120c950ddda4a670012289397","user":{"login":"uqbar-project","id":2975634,"avatar_url":"https://avatars.githubusercontent.com/u/2975634?v=3","gravatar_id":"","url":"https://api.github.com/users/uqbar-project","html_url":"https://github.com/uqbar-project","followers_url":"https://api.github.com/users/uqbar-project/followers","following_url":"https://api.github.com/users/uqbar-project/following{/other_user}","gists_url":"https://api.github.com/users/uqbar-project/gists{/gist_id}","starred_url":"https://api.github.com/users/uqbar-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uqbar-project/subscriptions","organizations_url":"https://api.github.com/users/uqbar-project/orgs","repos_url":"https://api.github.com/users/uqbar-project/repos","events_url":"https://api.github.com/users/uqbar-project/events{/privacy}","received_events_url":"https://api.github.com/users/uqbar-project/received_events","type":"Organization","site_admin":false},"repo":{"id":30089538,"name":"wollok","full_name":"uqbar-project/wollok","owner":{"login":"uqbar-project","id":2975634,"avatar_url":"https://avatars.githubusercontent.com/u/2975634?v=3","gravatar_id":"","url":"https://api.github.com/users/uqbar-project","html_url":"https://github.com/uqbar-project","followers_url":"https://api.github.com/users/uqbar-project/followers","following_url":"https://api.github.com/users/uqbar-project/following{/other_user}","gists_url":"https://api.github.com/users/uqbar-project/gists{/gist_id}","starred_url":"https://api.github.com/users/uqbar-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uqbar-project/subscriptions","organizations_url":"https://api.github.com/users/uqbar-project/orgs","repos_url":"https://api.github.com/users/uqbar-project/repos","events_url":"https://api.github.com/users/uqbar-project/events{/privacy}","received_events_url":"https://api.github.com/users/uqbar-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uqbar-project/wollok","description":"Wollok Programming Language","fork":false,"url":"https://api.github.com/repos/uqbar-project/wollok","forks_url":"https://api.github.com/repos/uqbar-project/wollok/forks","keys_url":"https://api.github.com/repos/uqbar-project/wollok/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uqbar-project/wollok/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uqbar-project/wollok/teams","hooks_url":"https://api.github.com/repos/uqbar-project/wollok/hooks","issue_events_url":"https://api.github.com/repos/uqbar-project/wollok/issues/events{/number}","events_url":"https://api.github.com/repos/uqbar-project/wollok/events","assignees_url":"https://api.github.com/repos/uqbar-project/wollok/assignees{/user}","branches_url":"https://api.github.com/repos/uqbar-project/wollok/branches{/branch}","tags_url":"https://api.github.com/repos/uqbar-project/wollok/tags","blobs_url":"https://api.github.com/repos/uqbar-project/wollok/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uqbar-project/wollok/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uqbar-project/wollok/git/refs{/sha}","trees_url":"https://api.github.com/repos/uqbar-project/wollok/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uqbar-project/wollok/statuses/{sha}","languages_url":"https://api.github.com/repos/uqbar-project/wollok/languages","stargazers_url":"https://api.github.com/repos/uqbar-project/wollok/stargazers","contributors_url":"https://api.github.com/repos/uqbar-project/wollok/contributors","subscribers_url":"https://api.github.com/repos/uqbar-project/wollok/subscribers","subscription_url":"https://api.github.com/repos/uqbar-project/wollok/subscription","commits_url":"https://api.github.com/repos/uqbar-project/wollok/commits{/sha}","git_commits_url":"https://api.github.com/repos/uqbar-project/wollok/git/commits{/sha}","comments_url":"https://api.github.com/repos/uqbar-project/wollok/comments{/number}","issue_comment_url":"https://api.github.com/repos/uqbar-project/wollok/issues/comments{/number}","contents_url":"https://api.github.com/repos/uqbar-project/wollok/contents/{+path}","compare_url":"https://api.github.com/repos/uqbar-project/wollok/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uqbar-project/wollok/merges","archive_url":"https://api.github.com/repos/uqbar-project/wollok/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uqbar-project/wollok/downloads","issues_url":"https://api.github.com/repos/uqbar-project/wollok/issues{/number}","pulls_url":"https://api.github.com/repos/uqbar-project/wollok/pulls{/number}","milestones_url":"https://api.github.com/repos/uqbar-project/wollok/milestones{/number}","notifications_url":"https://api.github.com/repos/uqbar-project/wollok/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uqbar-project/wollok/labels{/name}","releases_url":"https://api.github.com/repos/uqbar-project/wollok/releases{/id}","deployments_url":"https://api.github.com/repos/uqbar-project/wollok/deployments","created_at":"2015-01-30T20:31:27Z","updated_at":"2016-05-27T08:11:42Z","pushed_at":"2016-06-17T15:11:46Z","git_url":"git://github.com/uqbar-project/wollok.git","ssh_url":"git@github.com:uqbar-project/wollok.git","clone_url":"https://github.com/uqbar-project/wollok.git","svn_url":"https://github.com/uqbar-project/wollok","homepage":null,"size":20519,"stargazers_count":17,"watchers_count":17,"language":"Xtend","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":256,"forks":3,"open_issues":256,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uqbar-project/wollok/pulls/741"},"html":{"href":"https://github.com/uqbar-project/wollok/pull/741"},"issue":{"href":"https://api.github.com/repos/uqbar-project/wollok/issues/741"},"comments":{"href":"https://api.github.com/repos/uqbar-project/wollok/issues/741/comments"},"review_comments":{"href":"https://api.github.com/repos/uqbar-project/wollok/pulls/741/comments"},"review_comment":{"href":"https://api.github.com/repos/uqbar-project/wollok/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uqbar-project/wollok/pulls/741/commits"},"statuses":{"href":"https://api.github.com/repos/uqbar-project/wollok/statuses/1acdb9f7fd0e07f804ddee5dd7055e2128a76e38"}}}}
{"actor":{"display_login":"npasserini"}}