{"action":"created","comment":{"url":"https://api.github.com/repos/flix/flix/pulls/comments/223353184","pull_request_review_id":162457338,"id":223353184,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzM1MzE4NA==","diff_hunk":"@@ -487,6 +496,18 @@ object Type {\n     }\n   }\n \n+  /**\n+    * Constructs the channel type [elmType] where 'elmType' is the given type.\n+    */\n+  def mkChannel(elmType: Type): Type = Apply(Channel, elmType)\n+\n+  def getChannelInnerType(tpe: Type): Type = {","path":"main/src/ca/uwaterloo/flix/language/ast/Type.scala","position":39,"original_position":39,"commit_id":"6fe081e10fddc28cac195a50554e58607ba2f221","original_commit_id":"094e176d2cd5bb614323385319bfaca0358dcb68","user":{"login":"SimonMeldahl","id":40110282,"node_id":"MDQ6VXNlcjQwMTEwMjgy","avatar_url":"https://avatars2.githubusercontent.com/u/40110282?v=4","gravatar_id":"","url":"https://api.github.com/users/SimonMeldahl","html_url":"https://github.com/SimonMeldahl","followers_url":"https://api.github.com/users/SimonMeldahl/followers","following_url":"https://api.github.com/users/SimonMeldahl/following{/other_user}","gists_url":"https://api.github.com/users/SimonMeldahl/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonMeldahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonMeldahl/subscriptions","organizations_url":"https://api.github.com/users/SimonMeldahl/orgs","repos_url":"https://api.github.com/users/SimonMeldahl/repos","events_url":"https://api.github.com/users/SimonMeldahl/events{/privacy}","received_events_url":"https://api.github.com/users/SimonMeldahl/received_events","type":"User","site_admin":false},"body":"We use mkChannel now, do we need to delete both mkChannel and getChannelInnerType?","created_at":"2018-10-08T12:57:50Z","updated_at":"2018-10-08T12:57:51Z","html_url":"https://github.com/flix/flix/pull/692#discussion_r223353184","pull_request_url":"https://api.github.com/repos/flix/flix/pulls/692","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/flix/flix/pulls/comments/223353184"},"html":{"href":"https://github.com/flix/flix/pull/692#discussion_r223353184"},"pull_request":{"href":"https://api.github.com/repos/flix/flix/pulls/692"}},"in_reply_to_id":221838531},"pull_request":{"url":"https://api.github.com/repos/flix/flix/pulls/692","id":214556494,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NTU2NDk0","html_url":"https://github.com/flix/flix/pull/692","diff_url":"https://github.com/flix/flix/pull/692.diff","patch_url":"https://github.com/flix/flix/pull/692.patch","issue_url":"https://api.github.com/repos/flix/flix/issues/692","number":692,"state":"open","locked":false,"title":"Concurrency","user":{"login":"JonathanStarup","id":32037926,"node_id":"MDQ6VXNlcjMyMDM3OTI2","avatar_url":"https://avatars1.githubusercontent.com/u/32037926?v=4","gravatar_id":"","url":"https://api.github.com/users/JonathanStarup","html_url":"https://github.com/JonathanStarup","followers_url":"https://api.github.com/users/JonathanStarup/followers","following_url":"https://api.github.com/users/JonathanStarup/following{/other_user}","gists_url":"https://api.github.com/users/JonathanStarup/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanStarup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanStarup/subscriptions","organizations_url":"https://api.github.com/users/JonathanStarup/orgs","repos_url":"https://api.github.com/users/JonathanStarup/repos","events_url":"https://api.github.com/users/JonathanStarup/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanStarup/received_events","type":"User","site_admin":false},"body":"We propose to extend Flix with primitives for channels and light-weight processes/goroutines/... <<expand>>\r\n\r\nWe propose to add the following expressions to the language: <<describe>>\r\n\r\nwith the type rules: <<describe>>\r\n\r\nDiscuss design choices:\r\n- ident vs. pattern in SelectRule \r\n- how to parse expression statements.\r\n- the signature of spawn\r\n- etc","created_at":"2018-09-11T08:46:54Z","updated_at":"2018-10-08T12:57:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b81f1fbba99d075c38ff52814a30af64a643ab77","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/flix/flix/pulls/692/commits","review_comments_url":"https://api.github.com/repos/flix/flix/pulls/692/comments","review_comment_url":"https://api.github.com/repos/flix/flix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flix/flix/issues/692/comments","statuses_url":"https://api.github.com/repos/flix/flix/statuses/6fe081e10fddc28cac195a50554e58607ba2f221","head":{"label":"JonathanStarup:master","ref":"master","sha":"6fe081e10fddc28cac195a50554e58607ba2f221","user":{"login":"JonathanStarup","id":32037926,"node_id":"MDQ6VXNlcjMyMDM3OTI2","avatar_url":"https://avatars1.githubusercontent.com/u/32037926?v=4","gravatar_id":"","url":"https://api.github.com/users/JonathanStarup","html_url":"https://github.com/JonathanStarup","followers_url":"https://api.github.com/users/JonathanStarup/followers","following_url":"https://api.github.com/users/JonathanStarup/following{/other_user}","gists_url":"https://api.github.com/users/JonathanStarup/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanStarup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanStarup/subscriptions","organizations_url":"https://api.github.com/users/JonathanStarup/orgs","repos_url":"https://api.github.com/users/JonathanStarup/repos","events_url":"https://api.github.com/users/JonathanStarup/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanStarup/received_events","type":"User","site_admin":false},"repo":{"id":148284415,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgyODQ0MTU=","name":"flix","full_name":"JonathanStarup/flix","private":false,"owner":{"login":"JonathanStarup","id":32037926,"node_id":"MDQ6VXNlcjMyMDM3OTI2","avatar_url":"https://avatars1.githubusercontent.com/u/32037926?v=4","gravatar_id":"","url":"https://api.github.com/users/JonathanStarup","html_url":"https://github.com/JonathanStarup","followers_url":"https://api.github.com/users/JonathanStarup/followers","following_url":"https://api.github.com/users/JonathanStarup/following{/other_user}","gists_url":"https://api.github.com/users/JonathanStarup/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanStarup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanStarup/subscriptions","organizations_url":"https://api.github.com/users/JonathanStarup/orgs","repos_url":"https://api.github.com/users/JonathanStarup/repos","events_url":"https://api.github.com/users/JonathanStarup/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanStarup/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JonathanStarup/flix","description":"The Flix Programming Language","fork":true,"url":"https://api.github.com/repos/JonathanStarup/flix","forks_url":"https://api.github.com/repos/JonathanStarup/flix/forks","keys_url":"https://api.github.com/repos/JonathanStarup/flix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JonathanStarup/flix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JonathanStarup/flix/teams","hooks_url":"https://api.github.com/repos/JonathanStarup/flix/hooks","issue_events_url":"https://api.github.com/repos/JonathanStarup/flix/issues/events{/number}","events_url":"https://api.github.com/repos/JonathanStarup/flix/events","assignees_url":"https://api.github.com/repos/JonathanStarup/flix/assignees{/user}","branches_url":"https://api.github.com/repos/JonathanStarup/flix/branches{/branch}","tags_url":"https://api.github.com/repos/JonathanStarup/flix/tags","blobs_url":"https://api.github.com/repos/JonathanStarup/flix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JonathanStarup/flix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JonathanStarup/flix/git/refs{/sha}","trees_url":"https://api.github.com/repos/JonathanStarup/flix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JonathanStarup/flix/statuses/{sha}","languages_url":"https://api.github.com/repos/JonathanStarup/flix/languages","stargazers_url":"https://api.github.com/repos/JonathanStarup/flix/stargazers","contributors_url":"https://api.github.com/repos/JonathanStarup/flix/contributors","subscribers_url":"https://api.github.com/repos/JonathanStarup/flix/subscribers","subscription_url":"https://api.github.com/repos/JonathanStarup/flix/subscription","commits_url":"https://api.github.com/repos/JonathanStarup/flix/commits{/sha}","git_commits_url":"https://api.github.com/repos/JonathanStarup/flix/git/commits{/sha}","comments_url":"https://api.github.com/repos/JonathanStarup/flix/comments{/number}","issue_comment_url":"https://api.github.com/repos/JonathanStarup/flix/issues/comments{/number}","contents_url":"https://api.github.com/repos/JonathanStarup/flix/contents/{+path}","compare_url":"https://api.github.com/repos/JonathanStarup/flix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JonathanStarup/flix/merges","archive_url":"https://api.github.com/repos/JonathanStarup/flix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JonathanStarup/flix/downloads","issues_url":"https://api.github.com/repos/JonathanStarup/flix/issues{/number}","pulls_url":"https://api.github.com/repos/JonathanStarup/flix/pulls{/number}","milestones_url":"https://api.github.com/repos/JonathanStarup/flix/milestones{/number}","notifications_url":"https://api.github.com/repos/JonathanStarup/flix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JonathanStarup/flix/labels{/name}","releases_url":"https://api.github.com/repos/JonathanStarup/flix/releases{/id}","deployments_url":"https://api.github.com/repos/JonathanStarup/flix/deployments","created_at":"2018-09-11T08:19:31Z","updated_at":"2018-10-02T14:59:56Z","pushed_at":"2018-10-02T15:00:00Z","git_url":"git://github.com/JonathanStarup/flix.git","ssh_url":"git@github.com:JonathanStarup/flix.git","clone_url":"https://github.com/JonathanStarup/flix.git","svn_url":"https://github.com/JonathanStarup/flix","homepage":"http://flix.github.io","size":67699,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"flix:master","ref":"master","sha":"7f729145a937eb55e40f418fdd822e072618565d","user":{"login":"flix","id":16831634,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODMxNjM0","avatar_url":"https://avatars3.githubusercontent.com/u/16831634?v=4","gravatar_id":"","url":"https://api.github.com/users/flix","html_url":"https://github.com/flix","followers_url":"https://api.github.com/users/flix/followers","following_url":"https://api.github.com/users/flix/following{/other_user}","gists_url":"https://api.github.com/users/flix/gists{/gist_id}","starred_url":"https://api.github.com/users/flix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flix/subscriptions","organizations_url":"https://api.github.com/users/flix/orgs","repos_url":"https://api.github.com/users/flix/repos","events_url":"https://api.github.com/users/flix/events{/privacy}","received_events_url":"https://api.github.com/users/flix/received_events","type":"Organization","site_admin":false},"repo":{"id":37299718,"node_id":"MDEwOlJlcG9zaXRvcnkzNzI5OTcxOA==","name":"flix","full_name":"flix/flix","private":false,"owner":{"login":"flix","id":16831634,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODMxNjM0","avatar_url":"https://avatars3.githubusercontent.com/u/16831634?v=4","gravatar_id":"","url":"https://api.github.com/users/flix","html_url":"https://github.com/flix","followers_url":"https://api.github.com/users/flix/followers","following_url":"https://api.github.com/users/flix/following{/other_user}","gists_url":"https://api.github.com/users/flix/gists{/gist_id}","starred_url":"https://api.github.com/users/flix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flix/subscriptions","organizations_url":"https://api.github.com/users/flix/orgs","repos_url":"https://api.github.com/users/flix/repos","events_url":"https://api.github.com/users/flix/events{/privacy}","received_events_url":"https://api.github.com/users/flix/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/flix/flix","description":"The Flix Programming Language","fork":false,"url":"https://api.github.com/repos/flix/flix","forks_url":"https://api.github.com/repos/flix/flix/forks","keys_url":"https://api.github.com/repos/flix/flix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flix/flix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flix/flix/teams","hooks_url":"https://api.github.com/repos/flix/flix/hooks","issue_events_url":"https://api.github.com/repos/flix/flix/issues/events{/number}","events_url":"https://api.github.com/repos/flix/flix/events","assignees_url":"https://api.github.com/repos/flix/flix/assignees{/user}","branches_url":"https://api.github.com/repos/flix/flix/branches{/branch}","tags_url":"https://api.github.com/repos/flix/flix/tags","blobs_url":"https://api.github.com/repos/flix/flix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flix/flix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flix/flix/git/refs{/sha}","trees_url":"https://api.github.com/repos/flix/flix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flix/flix/statuses/{sha}","languages_url":"https://api.github.com/repos/flix/flix/languages","stargazers_url":"https://api.github.com/repos/flix/flix/stargazers","contributors_url":"https://api.github.com/repos/flix/flix/contributors","subscribers_url":"https://api.github.com/repos/flix/flix/subscribers","subscription_url":"https://api.github.com/repos/flix/flix/subscription","commits_url":"https://api.github.com/repos/flix/flix/commits{/sha}","git_commits_url":"https://api.github.com/repos/flix/flix/git/commits{/sha}","comments_url":"https://api.github.com/repos/flix/flix/comments{/number}","issue_comment_url":"https://api.github.com/repos/flix/flix/issues/comments{/number}","contents_url":"https://api.github.com/repos/flix/flix/contents/{+path}","compare_url":"https://api.github.com/repos/flix/flix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flix/flix/merges","archive_url":"https://api.github.com/repos/flix/flix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flix/flix/downloads","issues_url":"https://api.github.com/repos/flix/flix/issues{/number}","pulls_url":"https://api.github.com/repos/flix/flix/pulls{/number}","milestones_url":"https://api.github.com/repos/flix/flix/milestones{/number}","notifications_url":"https://api.github.com/repos/flix/flix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flix/flix/labels{/name}","releases_url":"https://api.github.com/repos/flix/flix/releases{/id}","deployments_url":"https://api.github.com/repos/flix/flix/deployments","created_at":"2015-06-12T03:20:35Z","updated_at":"2018-10-01T14:43:04Z","pushed_at":"2018-10-02T15:00:01Z","git_url":"git://github.com/flix/flix.git","ssh_url":"git@github.com:flix/flix.git","clone_url":"https://github.com/flix/flix.git","svn_url":"https://github.com/flix/flix","homepage":"http://flix.github.io","size":67612,"stargazers_count":189,"watchers_count":189,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":105,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":25,"open_issues":105,"watchers":189,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flix/flix/pulls/692"},"html":{"href":"https://github.com/flix/flix/pull/692"},"issue":{"href":"https://api.github.com/repos/flix/flix/issues/692"},"comments":{"href":"https://api.github.com/repos/flix/flix/issues/692/comments"},"review_comments":{"href":"https://api.github.com/repos/flix/flix/pulls/692/comments"},"review_comment":{"href":"https://api.github.com/repos/flix/flix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flix/flix/pulls/692/commits"},"statuses":{"href":"https://api.github.com/repos/flix/flix/statuses/6fe081e10fddc28cac195a50554e58607ba2f221"}},"author_association":"NONE"}}
{"actor":{"display_login":"SimonMeldahl"}}