{"action":"created","comment":{"url":"https://api.github.com/repos/hopper-lang/hopper/pulls/comments/59778757","id":59778757,"diff_hunk":"@@ -531,6 +533,14 @@ enterTotalMathPrimopSimple controlstack (opId, refs) = do\n         argAsLiteral (ValueLitCC lit) = Right lit\n         argAsLiteral notLit = Left $ \"Not a literal: `\" ++ show notLit ++ \"`\"\n \n+enterCaseCC\n+  :: SymbolRegistryCC\n+  -> EnvStackCC\n+  -> ControlStackCC\n+  -> (Variable, [(ConstrId, Word32, V.Vector BinderInfoCC, AnfCC)])","path":"src/Hopper/Internal/LoweredCore/EvalClosureConvertedANF.hs","position":24,"original_position":24,"commit_id":"7c4774f87135417570d27bac4cb0b34bbdcce366","original_commit_id":"7c4774f87135417570d27bac4cb0b34bbdcce366","user":{"login":"cartazio","id":4290,"avatar_url":"https://avatars.githubusercontent.com/u/4290?v=3","gravatar_id":"","url":"https://api.github.com/users/cartazio","html_url":"https://github.com/cartazio","followers_url":"https://api.github.com/users/cartazio/followers","following_url":"https://api.github.com/users/cartazio/following{/other_user}","gists_url":"https://api.github.com/users/cartazio/gists{/gist_id}","starred_url":"https://api.github.com/users/cartazio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartazio/subscriptions","organizations_url":"https://api.github.com/users/cartazio/orgs","repos_url":"https://api.github.com/users/cartazio/repos","events_url":"https://api.github.com/users/cartazio/events{/privacy}","received_events_url":"https://api.github.com/users/cartazio/received_events","type":"User","site_admin":false},"body":"is this roughly `case x of p1 -> e1 ; ... ; pn -> en` ?","created_at":"2016-04-14T19:44:32Z","updated_at":"2016-04-14T19:44:32Z","html_url":"https://github.com/hopper-lang/hopper/pull/9#discussion_r59778757","pull_request_url":"https://api.github.com/repos/hopper-lang/hopper/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/hopper-lang/hopper/pulls/comments/59778757"},"html":{"href":"https://github.com/hopper-lang/hopper/pull/9#discussion_r59778757"},"pull_request":{"href":"https://api.github.com/repos/hopper-lang/hopper/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/hopper-lang/hopper/pulls/9","id":66223299,"html_url":"https://github.com/hopper-lang/hopper/pull/9","diff_url":"https://github.com/hopper-lang/hopper/pull/9.diff","patch_url":"https://github.com/hopper-lang/hopper/pull/9.patch","issue_url":"https://api.github.com/repos/hopper-lang/hopper/issues/9","number":9,"state":"open","locked":false,"title":"Case","user":{"login":"joelburget","id":310981,"avatar_url":"https://avatars.githubusercontent.com/u/310981?v=3","gravatar_id":"","url":"https://api.github.com/users/joelburget","html_url":"https://github.com/joelburget","followers_url":"https://api.github.com/users/joelburget/followers","following_url":"https://api.github.com/users/joelburget/following{/other_user}","gists_url":"https://api.github.com/users/joelburget/gists{/gist_id}","starred_url":"https://api.github.com/users/joelburget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelburget/subscriptions","organizations_url":"https://api.github.com/users/joelburget/orgs","repos_url":"https://api.github.com/users/joelburget/repos","events_url":"https://api.github.com/users/joelburget/events{/privacy}","received_events_url":"https://api.github.com/users/joelburget/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-12T20:33:52Z","updated_at":"2016-04-14T19:44:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ccc521757aca86daf98e2978a9313930e8d69c1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hopper-lang/hopper/pulls/9/commits","review_comments_url":"https://api.github.com/repos/hopper-lang/hopper/pulls/9/comments","review_comment_url":"https://api.github.com/repos/hopper-lang/hopper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hopper-lang/hopper/issues/9/comments","statuses_url":"https://api.github.com/repos/hopper-lang/hopper/statuses/7c4774f87135417570d27bac4cb0b34bbdcce366","head":{"label":"hopper-lang:case","ref":"case","sha":"7c4774f87135417570d27bac4cb0b34bbdcce366","user":{"login":"hopper-lang","id":15093367,"avatar_url":"https://avatars.githubusercontent.com/u/15093367?v=3","gravatar_id":"","url":"https://api.github.com/users/hopper-lang","html_url":"https://github.com/hopper-lang","followers_url":"https://api.github.com/users/hopper-lang/followers","following_url":"https://api.github.com/users/hopper-lang/following{/other_user}","gists_url":"https://api.github.com/users/hopper-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/hopper-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hopper-lang/subscriptions","organizations_url":"https://api.github.com/users/hopper-lang/orgs","repos_url":"https://api.github.com/users/hopper-lang/repos","events_url":"https://api.github.com/users/hopper-lang/events{/privacy}","received_events_url":"https://api.github.com/users/hopper-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":52626148,"name":"hopper","full_name":"hopper-lang/hopper","owner":{"login":"hopper-lang","id":15093367,"avatar_url":"https://avatars.githubusercontent.com/u/15093367?v=3","gravatar_id":"","url":"https://api.github.com/users/hopper-lang","html_url":"https://github.com/hopper-lang","followers_url":"https://api.github.com/users/hopper-lang/followers","following_url":"https://api.github.com/users/hopper-lang/following{/other_user}","gists_url":"https://api.github.com/users/hopper-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/hopper-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hopper-lang/subscriptions","organizations_url":"https://api.github.com/users/hopper-lang/orgs","repos_url":"https://api.github.com/users/hopper-lang/repos","events_url":"https://api.github.com/users/hopper-lang/events{/privacy}","received_events_url":"https://api.github.com/users/hopper-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hopper-lang/hopper","description":"a sound modern language for computation and transactional resource logic","fork":false,"url":"https://api.github.com/repos/hopper-lang/hopper","forks_url":"https://api.github.com/repos/hopper-lang/hopper/forks","keys_url":"https://api.github.com/repos/hopper-lang/hopper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hopper-lang/hopper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hopper-lang/hopper/teams","hooks_url":"https://api.github.com/repos/hopper-lang/hopper/hooks","issue_events_url":"https://api.github.com/repos/hopper-lang/hopper/issues/events{/number}","events_url":"https://api.github.com/repos/hopper-lang/hopper/events","assignees_url":"https://api.github.com/repos/hopper-lang/hopper/assignees{/user}","branches_url":"https://api.github.com/repos/hopper-lang/hopper/branches{/branch}","tags_url":"https://api.github.com/repos/hopper-lang/hopper/tags","blobs_url":"https://api.github.com/repos/hopper-lang/hopper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hopper-lang/hopper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hopper-lang/hopper/git/refs{/sha}","trees_url":"https://api.github.com/repos/hopper-lang/hopper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hopper-lang/hopper/statuses/{sha}","languages_url":"https://api.github.com/repos/hopper-lang/hopper/languages","stargazers_url":"https://api.github.com/repos/hopper-lang/hopper/stargazers","contributors_url":"https://api.github.com/repos/hopper-lang/hopper/contributors","subscribers_url":"https://api.github.com/repos/hopper-lang/hopper/subscribers","subscription_url":"https://api.github.com/repos/hopper-lang/hopper/subscription","commits_url":"https://api.github.com/repos/hopper-lang/hopper/commits{/sha}","git_commits_url":"https://api.github.com/repos/hopper-lang/hopper/git/commits{/sha}","comments_url":"https://api.github.com/repos/hopper-lang/hopper/comments{/number}","issue_comment_url":"https://api.github.com/repos/hopper-lang/hopper/issues/comments{/number}","contents_url":"https://api.github.com/repos/hopper-lang/hopper/contents/{+path}","compare_url":"https://api.github.com/repos/hopper-lang/hopper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hopper-lang/hopper/merges","archive_url":"https://api.github.com/repos/hopper-lang/hopper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hopper-lang/hopper/downloads","issues_url":"https://api.github.com/repos/hopper-lang/hopper/issues{/number}","pulls_url":"https://api.github.com/repos/hopper-lang/hopper/pulls{/number}","milestones_url":"https://api.github.com/repos/hopper-lang/hopper/milestones{/number}","notifications_url":"https://api.github.com/repos/hopper-lang/hopper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hopper-lang/hopper/labels{/name}","releases_url":"https://api.github.com/repos/hopper-lang/hopper/releases{/id}","deployments_url":"https://api.github.com/repos/hopper-lang/hopper/deployments","created_at":"2016-02-26T19:02:47Z","updated_at":"2016-04-11T20:18:54Z","pushed_at":"2016-04-14T19:38:47Z","git_url":"git://github.com/hopper-lang/hopper.git","ssh_url":"git@github.com:hopper-lang/hopper.git","clone_url":"https://github.com/hopper-lang/hopper.git","svn_url":"https://github.com/hopper-lang/hopper","homepage":"","size":527,"stargazers_count":63,"watchers_count":63,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":6,"forks":5,"open_issues":6,"watchers":63,"default_branch":"master"}},"base":{"label":"hopper-lang:master","ref":"master","sha":"89bcfc6515f9a1887f6908861667267046b8e8c9","user":{"login":"hopper-lang","id":15093367,"avatar_url":"https://avatars.githubusercontent.com/u/15093367?v=3","gravatar_id":"","url":"https://api.github.com/users/hopper-lang","html_url":"https://github.com/hopper-lang","followers_url":"https://api.github.com/users/hopper-lang/followers","following_url":"https://api.github.com/users/hopper-lang/following{/other_user}","gists_url":"https://api.github.com/users/hopper-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/hopper-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hopper-lang/subscriptions","organizations_url":"https://api.github.com/users/hopper-lang/orgs","repos_url":"https://api.github.com/users/hopper-lang/repos","events_url":"https://api.github.com/users/hopper-lang/events{/privacy}","received_events_url":"https://api.github.com/users/hopper-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":52626148,"name":"hopper","full_name":"hopper-lang/hopper","owner":{"login":"hopper-lang","id":15093367,"avatar_url":"https://avatars.githubusercontent.com/u/15093367?v=3","gravatar_id":"","url":"https://api.github.com/users/hopper-lang","html_url":"https://github.com/hopper-lang","followers_url":"https://api.github.com/users/hopper-lang/followers","following_url":"https://api.github.com/users/hopper-lang/following{/other_user}","gists_url":"https://api.github.com/users/hopper-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/hopper-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hopper-lang/subscriptions","organizations_url":"https://api.github.com/users/hopper-lang/orgs","repos_url":"https://api.github.com/users/hopper-lang/repos","events_url":"https://api.github.com/users/hopper-lang/events{/privacy}","received_events_url":"https://api.github.com/users/hopper-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hopper-lang/hopper","description":"a sound modern language for computation and transactional resource logic","fork":false,"url":"https://api.github.com/repos/hopper-lang/hopper","forks_url":"https://api.github.com/repos/hopper-lang/hopper/forks","keys_url":"https://api.github.com/repos/hopper-lang/hopper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hopper-lang/hopper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hopper-lang/hopper/teams","hooks_url":"https://api.github.com/repos/hopper-lang/hopper/hooks","issue_events_url":"https://api.github.com/repos/hopper-lang/hopper/issues/events{/number}","events_url":"https://api.github.com/repos/hopper-lang/hopper/events","assignees_url":"https://api.github.com/repos/hopper-lang/hopper/assignees{/user}","branches_url":"https://api.github.com/repos/hopper-lang/hopper/branches{/branch}","tags_url":"https://api.github.com/repos/hopper-lang/hopper/tags","blobs_url":"https://api.github.com/repos/hopper-lang/hopper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hopper-lang/hopper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hopper-lang/hopper/git/refs{/sha}","trees_url":"https://api.github.com/repos/hopper-lang/hopper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hopper-lang/hopper/statuses/{sha}","languages_url":"https://api.github.com/repos/hopper-lang/hopper/languages","stargazers_url":"https://api.github.com/repos/hopper-lang/hopper/stargazers","contributors_url":"https://api.github.com/repos/hopper-lang/hopper/contributors","subscribers_url":"https://api.github.com/repos/hopper-lang/hopper/subscribers","subscription_url":"https://api.github.com/repos/hopper-lang/hopper/subscription","commits_url":"https://api.github.com/repos/hopper-lang/hopper/commits{/sha}","git_commits_url":"https://api.github.com/repos/hopper-lang/hopper/git/commits{/sha}","comments_url":"https://api.github.com/repos/hopper-lang/hopper/comments{/number}","issue_comment_url":"https://api.github.com/repos/hopper-lang/hopper/issues/comments{/number}","contents_url":"https://api.github.com/repos/hopper-lang/hopper/contents/{+path}","compare_url":"https://api.github.com/repos/hopper-lang/hopper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hopper-lang/hopper/merges","archive_url":"https://api.github.com/repos/hopper-lang/hopper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hopper-lang/hopper/downloads","issues_url":"https://api.github.com/repos/hopper-lang/hopper/issues{/number}","pulls_url":"https://api.github.com/repos/hopper-lang/hopper/pulls{/number}","milestones_url":"https://api.github.com/repos/hopper-lang/hopper/milestones{/number}","notifications_url":"https://api.github.com/repos/hopper-lang/hopper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hopper-lang/hopper/labels{/name}","releases_url":"https://api.github.com/repos/hopper-lang/hopper/releases{/id}","deployments_url":"https://api.github.com/repos/hopper-lang/hopper/deployments","created_at":"2016-02-26T19:02:47Z","updated_at":"2016-04-11T20:18:54Z","pushed_at":"2016-04-14T19:38:47Z","git_url":"git://github.com/hopper-lang/hopper.git","ssh_url":"git@github.com:hopper-lang/hopper.git","clone_url":"https://github.com/hopper-lang/hopper.git","svn_url":"https://github.com/hopper-lang/hopper","homepage":"","size":527,"stargazers_count":63,"watchers_count":63,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":6,"forks":5,"open_issues":6,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hopper-lang/hopper/pulls/9"},"html":{"href":"https://github.com/hopper-lang/hopper/pull/9"},"issue":{"href":"https://api.github.com/repos/hopper-lang/hopper/issues/9"},"comments":{"href":"https://api.github.com/repos/hopper-lang/hopper/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/hopper-lang/hopper/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/hopper-lang/hopper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hopper-lang/hopper/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/hopper-lang/hopper/statuses/7c4774f87135417570d27bac4cb0b34bbdcce366"}}}}