{"action":"created","comment":{"url":"https://api.github.com/repos/broadinstitute/hail/pulls/comments/74836711","id":74836711,"diff_hunk":"@@ -71,6 +73,8 @@ Several Hail commands provide the ability to perform a broad array of computatio\n      - max: `set.max` -- valid only for numeric sets, returns the minimum value\n      - find: `set.find(v => expr)` -- Returns the first non-missing element of `set` for which `expr` is true.  If no element satisfies the predicate, `find` returns NA.\n      - map: `set.map(v => expr)` -- Returns a new set produced by applying `expr` to each element\n+     - flatMap: `set.map(v => expr)` -- valid only for `expr` of type Set. Returns a new set by mapping each element of `set` and taking the union of the resulting sets","path":"docs/HailExpressionLanguage.md","position":13,"original_position":13,"commit_id":"e2983d70cf4261a24e0a20f7ca3c92923ca6acec","original_commit_id":"e2983d70cf4261a24e0a20f7ca3c92923ca6acec","user":{"login":"jbloom22","id":3201642,"avatar_url":"https://avatars.githubusercontent.com/u/3201642?v=3","gravatar_id":"","url":"https://api.github.com/users/jbloom22","html_url":"https://github.com/jbloom22","followers_url":"https://api.github.com/users/jbloom22/followers","following_url":"https://api.github.com/users/jbloom22/following{/other_user}","gists_url":"https://api.github.com/users/jbloom22/gists{/gist_id}","starred_url":"https://api.github.com/users/jbloom22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbloom22/subscriptions","organizations_url":"https://api.github.com/users/jbloom22/orgs","repos_url":"https://api.github.com/users/jbloom22/repos","events_url":"https://api.github.com/users/jbloom22/events{/privacy}","received_events_url":"https://api.github.com/users/jbloom22/received_events","type":"User","site_admin":false},"body":"good catch","created_at":"2016-08-15T21:16:23Z","updated_at":"2016-08-15T21:16:23Z","html_url":"https://github.com/broadinstitute/hail/pull/591#discussion_r74836711","pull_request_url":"https://api.github.com/repos/broadinstitute/hail/pulls/591","_links":{"self":{"href":"https://api.github.com/repos/broadinstitute/hail/pulls/comments/74836711"},"html":{"href":"https://github.com/broadinstitute/hail/pull/591#discussion_r74836711"},"pull_request":{"href":"https://api.github.com/repos/broadinstitute/hail/pulls/591"}}},"pull_request":{"url":"https://api.github.com/repos/broadinstitute/hail/pulls/591","id":81371268,"html_url":"https://github.com/broadinstitute/hail/pull/591","diff_url":"https://github.com/broadinstitute/hail/pull/591.diff","patch_url":"https://github.com/broadinstitute/hail/pull/591.patch","issue_url":"https://api.github.com/repos/broadinstitute/hail/issues/591","number":591,"state":"open","locked":false,"title":"added flatMap and flatten to expr language","user":{"login":"jbloom22","id":3201642,"avatar_url":"https://avatars.githubusercontent.com/u/3201642?v=3","gravatar_id":"","url":"https://api.github.com/users/jbloom22","html_url":"https://github.com/jbloom22","followers_url":"https://api.github.com/users/jbloom22/followers","following_url":"https://api.github.com/users/jbloom22/following{/other_user}","gists_url":"https://api.github.com/users/jbloom22/gists{/gist_id}","starred_url":"https://api.github.com/users/jbloom22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbloom22/subscriptions","organizations_url":"https://api.github.com/users/jbloom22/orgs","repos_url":"https://api.github.com/users/jbloom22/repos","events_url":"https://api.github.com/users/jbloom22/events{/privacy}","received_events_url":"https://api.github.com/users/jbloom22/received_events","type":"User","site_admin":false},"body":"- added methods to AST for Array and Set\r\n- added docs in HailExpressionLangauge.md\r\n- added tests to ExprSuite\r\n- addresses Issue #556 ","created_at":"2016-08-15T20:37:43Z","updated_at":"2016-08-15T21:16:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49c261386e911c51dc4b8381eeee9022cff54ff9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/broadinstitute/hail/pulls/591/commits","review_comments_url":"https://api.github.com/repos/broadinstitute/hail/pulls/591/comments","review_comment_url":"https://api.github.com/repos/broadinstitute/hail/pulls/comments{/number}","comments_url":"https://api.github.com/repos/broadinstitute/hail/issues/591/comments","statuses_url":"https://api.github.com/repos/broadinstitute/hail/statuses/e2983d70cf4261a24e0a20f7ca3c92923ca6acec","head":{"label":"jbloom22:jb_expr_flatmap_flatten","ref":"jb_expr_flatmap_flatten","sha":"e2983d70cf4261a24e0a20f7ca3c92923ca6acec","user":{"login":"jbloom22","id":3201642,"avatar_url":"https://avatars.githubusercontent.com/u/3201642?v=3","gravatar_id":"","url":"https://api.github.com/users/jbloom22","html_url":"https://github.com/jbloom22","followers_url":"https://api.github.com/users/jbloom22/followers","following_url":"https://api.github.com/users/jbloom22/following{/other_user}","gists_url":"https://api.github.com/users/jbloom22/gists{/gist_id}","starred_url":"https://api.github.com/users/jbloom22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbloom22/subscriptions","organizations_url":"https://api.github.com/users/jbloom22/orgs","repos_url":"https://api.github.com/users/jbloom22/repos","events_url":"https://api.github.com/users/jbloom22/events{/privacy}","received_events_url":"https://api.github.com/users/jbloom22/received_events","type":"User","site_admin":false},"repo":{"id":64696976,"name":"hail","full_name":"jbloom22/hail","owner":{"login":"jbloom22","id":3201642,"avatar_url":"https://avatars.githubusercontent.com/u/3201642?v=3","gravatar_id":"","url":"https://api.github.com/users/jbloom22","html_url":"https://github.com/jbloom22","followers_url":"https://api.github.com/users/jbloom22/followers","following_url":"https://api.github.com/users/jbloom22/following{/other_user}","gists_url":"https://api.github.com/users/jbloom22/gists{/gist_id}","starred_url":"https://api.github.com/users/jbloom22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbloom22/subscriptions","organizations_url":"https://api.github.com/users/jbloom22/orgs","repos_url":"https://api.github.com/users/jbloom22/repos","events_url":"https://api.github.com/users/jbloom22/events{/privacy}","received_events_url":"https://api.github.com/users/jbloom22/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbloom22/hail","description":"Hail, a framework for scalable genetic data analysis","fork":true,"url":"https://api.github.com/repos/jbloom22/hail","forks_url":"https://api.github.com/repos/jbloom22/hail/forks","keys_url":"https://api.github.com/repos/jbloom22/hail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbloom22/hail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbloom22/hail/teams","hooks_url":"https://api.github.com/repos/jbloom22/hail/hooks","issue_events_url":"https://api.github.com/repos/jbloom22/hail/issues/events{/number}","events_url":"https://api.github.com/repos/jbloom22/hail/events","assignees_url":"https://api.github.com/repos/jbloom22/hail/assignees{/user}","branches_url":"https://api.github.com/repos/jbloom22/hail/branches{/branch}","tags_url":"https://api.github.com/repos/jbloom22/hail/tags","blobs_url":"https://api.github.com/repos/jbloom22/hail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbloom22/hail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbloom22/hail/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbloom22/hail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbloom22/hail/statuses/{sha}","languages_url":"https://api.github.com/repos/jbloom22/hail/languages","stargazers_url":"https://api.github.com/repos/jbloom22/hail/stargazers","contributors_url":"https://api.github.com/repos/jbloom22/hail/contributors","subscribers_url":"https://api.github.com/repos/jbloom22/hail/subscribers","subscription_url":"https://api.github.com/repos/jbloom22/hail/subscription","commits_url":"https://api.github.com/repos/jbloom22/hail/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbloom22/hail/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbloom22/hail/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbloom22/hail/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbloom22/hail/contents/{+path}","compare_url":"https://api.github.com/repos/jbloom22/hail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbloom22/hail/merges","archive_url":"https://api.github.com/repos/jbloom22/hail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbloom22/hail/downloads","issues_url":"https://api.github.com/repos/jbloom22/hail/issues{/number}","pulls_url":"https://api.github.com/repos/jbloom22/hail/pulls{/number}","milestones_url":"https://api.github.com/repos/jbloom22/hail/milestones{/number}","notifications_url":"https://api.github.com/repos/jbloom22/hail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbloom22/hail/labels{/name}","releases_url":"https://api.github.com/repos/jbloom22/hail/releases{/id}","deployments_url":"https://api.github.com/repos/jbloom22/hail/deployments","created_at":"2016-08-01T19:51:47Z","updated_at":"2016-08-01T19:51:49Z","pushed_at":"2016-08-15T20:48:53Z","git_url":"git://github.com/jbloom22/hail.git","ssh_url":"git@github.com:jbloom22/hail.git","clone_url":"https://github.com/jbloom22/hail.git","svn_url":"https://github.com/jbloom22/hail","homepage":"","size":5878,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"broadinstitute:master","ref":"master","sha":"44ef5854152ee2efe375ab5dc79d57e66f016393","user":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"repo":{"id":45069467,"name":"hail","full_name":"broadinstitute/hail","owner":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/broadinstitute/hail","description":"scalable genetic data analysis https://hail.is","fork":false,"url":"https://api.github.com/repos/broadinstitute/hail","forks_url":"https://api.github.com/repos/broadinstitute/hail/forks","keys_url":"https://api.github.com/repos/broadinstitute/hail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/broadinstitute/hail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/broadinstitute/hail/teams","hooks_url":"https://api.github.com/repos/broadinstitute/hail/hooks","issue_events_url":"https://api.github.com/repos/broadinstitute/hail/issues/events{/number}","events_url":"https://api.github.com/repos/broadinstitute/hail/events","assignees_url":"https://api.github.com/repos/broadinstitute/hail/assignees{/user}","branches_url":"https://api.github.com/repos/broadinstitute/hail/branches{/branch}","tags_url":"https://api.github.com/repos/broadinstitute/hail/tags","blobs_url":"https://api.github.com/repos/broadinstitute/hail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/broadinstitute/hail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/broadinstitute/hail/git/refs{/sha}","trees_url":"https://api.github.com/repos/broadinstitute/hail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/broadinstitute/hail/statuses/{sha}","languages_url":"https://api.github.com/repos/broadinstitute/hail/languages","stargazers_url":"https://api.github.com/repos/broadinstitute/hail/stargazers","contributors_url":"https://api.github.com/repos/broadinstitute/hail/contributors","subscribers_url":"https://api.github.com/repos/broadinstitute/hail/subscribers","subscription_url":"https://api.github.com/repos/broadinstitute/hail/subscription","commits_url":"https://api.github.com/repos/broadinstitute/hail/commits{/sha}","git_commits_url":"https://api.github.com/repos/broadinstitute/hail/git/commits{/sha}","comments_url":"https://api.github.com/repos/broadinstitute/hail/comments{/number}","issue_comment_url":"https://api.github.com/repos/broadinstitute/hail/issues/comments{/number}","contents_url":"https://api.github.com/repos/broadinstitute/hail/contents/{+path}","compare_url":"https://api.github.com/repos/broadinstitute/hail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/broadinstitute/hail/merges","archive_url":"https://api.github.com/repos/broadinstitute/hail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/broadinstitute/hail/downloads","issues_url":"https://api.github.com/repos/broadinstitute/hail/issues{/number}","pulls_url":"https://api.github.com/repos/broadinstitute/hail/pulls{/number}","milestones_url":"https://api.github.com/repos/broadinstitute/hail/milestones{/number}","notifications_url":"https://api.github.com/repos/broadinstitute/hail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/broadinstitute/hail/labels{/name}","releases_url":"https://api.github.com/repos/broadinstitute/hail/releases{/id}","deployments_url":"https://api.github.com/repos/broadinstitute/hail/deployments","created_at":"2015-10-27T20:55:42Z","updated_at":"2016-08-15T17:40:10Z","pushed_at":"2016-08-15T20:48:53Z","git_url":"git://github.com/broadinstitute/hail.git","ssh_url":"git@github.com:broadinstitute/hail.git","clone_url":"https://github.com/broadinstitute/hail.git","svn_url":"https://github.com/broadinstitute/hail","homepage":"","size":7202,"stargazers_count":40,"watchers_count":40,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":180,"forks":16,"open_issues":180,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/broadinstitute/hail/pulls/591"},"html":{"href":"https://github.com/broadinstitute/hail/pull/591"},"issue":{"href":"https://api.github.com/repos/broadinstitute/hail/issues/591"},"comments":{"href":"https://api.github.com/repos/broadinstitute/hail/issues/591/comments"},"review_comments":{"href":"https://api.github.com/repos/broadinstitute/hail/pulls/591/comments"},"review_comment":{"href":"https://api.github.com/repos/broadinstitute/hail/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/broadinstitute/hail/pulls/591/commits"},"statuses":{"href":"https://api.github.com/repos/broadinstitute/hail/statuses/e2983d70cf4261a24e0a20f7ca3c92923ca6acec"}}}}
{"actor":{"display_login":"jbloom22"}}