{"action":"created","comment":{"url":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls/comments/213738209","pull_request_review_id":150636203,"id":213738209,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzczODIwOQ==","diff_hunk":"@@ -419,18 +419,19 @@ instance Show Rule where\n \n data Assignment = Assignment     { assignPos :: Pos\n                                  , leftAssign :: String\n+                                 , typeAssign :: Maybe Type\n                                  , rightAssign :: Expr }\n \n instance Eq Assignment where\n-    (==) (Assignment _ l1 r1) (Assignment _ l2 r2) =\n-      l1 == l2 && r1 == r2\n+    (==) (Assignment _ l1 t1 r1) (Assignment _ l2 t2 r2) =\n+      l1 == l2 && t1 == t2 && r1 == r2\n \n instance WithPos Assignment where\n     pos = assignPos\n     atPos r p = r{assignPos = p}\n \n instance PP Assignment where\n-    pp (Assignment _ l r) = pp l <+> \"=\" <+> pp r\n+    pp (Assignment _ l t r) = pp l <> \":\" <+> pp t <+> \"=\" <+> pp r","path":"src/Language/DifferentialDatalog/Syntax.hs","position":19,"original_position":19,"commit_id":"a06adbcd3a48e4ee07d423168adb7ee6494de331","original_commit_id":"a06adbcd3a48e4ee07d423168adb7ee6494de331","user":{"login":"ryzhyk","id":8323135,"node_id":"MDQ6VXNlcjgzMjMxMzU=","avatar_url":"https://avatars2.githubusercontent.com/u/8323135?v=4","gravatar_id":"","url":"https://api.github.com/users/ryzhyk","html_url":"https://github.com/ryzhyk","followers_url":"https://api.github.com/users/ryzhyk/followers","following_url":"https://api.github.com/users/ryzhyk/following{/other_user}","gists_url":"https://api.github.com/users/ryzhyk/gists{/gist_id}","starred_url":"https://api.github.com/users/ryzhyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryzhyk/subscriptions","organizations_url":"https://api.github.com/users/ryzhyk/orgs","repos_url":"https://api.github.com/users/ryzhyk/repos","events_url":"https://api.github.com/users/ryzhyk/events{/privacy}","received_events_url":"https://api.github.com/users/ryzhyk/received_events","type":"User","site_admin":false},"body":"This does not look correct. Should be something like:\r\n```\r\npp l <> (maybe empty (\\t' -> \":\" <+> pp t') t) <+> \"=\" <+> pp r\r\n```","created_at":"2018-08-29T16:00:12Z","updated_at":"2018-08-29T16:08:55Z","html_url":"https://github.com/ryzhyk/differential-datalog/pull/74#discussion_r213738209","pull_request_url":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls/74","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls/comments/213738209"},"html":{"href":"https://github.com/ryzhyk/differential-datalog/pull/74#discussion_r213738209"},"pull_request":{"href":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls/74","id":211576604,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExNTc2NjA0","html_url":"https://github.com/ryzhyk/differential-datalog/pull/74","diff_url":"https://github.com/ryzhyk/differential-datalog/pull/74.diff","patch_url":"https://github.com/ryzhyk/differential-datalog/pull/74.patch","issue_url":"https://api.github.com/repos/ryzhyk/differential-datalog/issues/74","number":74,"state":"open","locked":false,"title":"Fix for issue #73","user":{"login":"mbudiu-vmw","id":19397042,"node_id":"MDQ6VXNlcjE5Mzk3MDQy","avatar_url":"https://avatars1.githubusercontent.com/u/19397042?v=4","gravatar_id":"","url":"https://api.github.com/users/mbudiu-vmw","html_url":"https://github.com/mbudiu-vmw","followers_url":"https://api.github.com/users/mbudiu-vmw/followers","following_url":"https://api.github.com/users/mbudiu-vmw/following{/other_user}","gists_url":"https://api.github.com/users/mbudiu-vmw/gists{/gist_id}","starred_url":"https://api.github.com/users/mbudiu-vmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbudiu-vmw/subscriptions","organizations_url":"https://api.github.com/users/mbudiu-vmw/orgs","repos_url":"https://api.github.com/users/mbudiu-vmw/repos","events_url":"https://api.github.com/users/mbudiu-vmw/events{/privacy}","received_events_url":"https://api.github.com/users/mbudiu-vmw/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-28T22:26:27Z","updated_at":"2018-08-29T16:08:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e6eba73d709c83c780d97950641c740d2d3d4dd5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls/74/commits","review_comments_url":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls/74/comments","review_comment_url":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ryzhyk/differential-datalog/issues/74/comments","statuses_url":"https://api.github.com/repos/ryzhyk/differential-datalog/statuses/a06adbcd3a48e4ee07d423168adb7ee6494de331","head":{"label":"ryzhyk:issue73","ref":"issue73","sha":"a06adbcd3a48e4ee07d423168adb7ee6494de331","user":{"login":"ryzhyk","id":8323135,"node_id":"MDQ6VXNlcjgzMjMxMzU=","avatar_url":"https://avatars2.githubusercontent.com/u/8323135?v=4","gravatar_id":"","url":"https://api.github.com/users/ryzhyk","html_url":"https://github.com/ryzhyk","followers_url":"https://api.github.com/users/ryzhyk/followers","following_url":"https://api.github.com/users/ryzhyk/following{/other_user}","gists_url":"https://api.github.com/users/ryzhyk/gists{/gist_id}","starred_url":"https://api.github.com/users/ryzhyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryzhyk/subscriptions","organizations_url":"https://api.github.com/users/ryzhyk/orgs","repos_url":"https://api.github.com/users/ryzhyk/repos","events_url":"https://api.github.com/users/ryzhyk/events{/privacy}","received_events_url":"https://api.github.com/users/ryzhyk/received_events","type":"User","site_admin":false},"repo":{"id":126076620,"node_id":"MDEwOlJlcG9zaXRvcnkxMjYwNzY2MjA=","name":"differential-datalog","full_name":"ryzhyk/differential-datalog","owner":{"login":"ryzhyk","id":8323135,"node_id":"MDQ6VXNlcjgzMjMxMzU=","avatar_url":"https://avatars2.githubusercontent.com/u/8323135?v=4","gravatar_id":"","url":"https://api.github.com/users/ryzhyk","html_url":"https://github.com/ryzhyk","followers_url":"https://api.github.com/users/ryzhyk/followers","following_url":"https://api.github.com/users/ryzhyk/following{/other_user}","gists_url":"https://api.github.com/users/ryzhyk/gists{/gist_id}","starred_url":"https://api.github.com/users/ryzhyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryzhyk/subscriptions","organizations_url":"https://api.github.com/users/ryzhyk/orgs","repos_url":"https://api.github.com/users/ryzhyk/repos","events_url":"https://api.github.com/users/ryzhyk/events{/privacy}","received_events_url":"https://api.github.com/users/ryzhyk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryzhyk/differential-datalog","description":"An in-memory incremental Datalog engine based on Differential Dataflow","fork":false,"url":"https://api.github.com/repos/ryzhyk/differential-datalog","forks_url":"https://api.github.com/repos/ryzhyk/differential-datalog/forks","keys_url":"https://api.github.com/repos/ryzhyk/differential-datalog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryzhyk/differential-datalog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryzhyk/differential-datalog/teams","hooks_url":"https://api.github.com/repos/ryzhyk/differential-datalog/hooks","issue_events_url":"https://api.github.com/repos/ryzhyk/differential-datalog/issues/events{/number}","events_url":"https://api.github.com/repos/ryzhyk/differential-datalog/events","assignees_url":"https://api.github.com/repos/ryzhyk/differential-datalog/assignees{/user}","branches_url":"https://api.github.com/repos/ryzhyk/differential-datalog/branches{/branch}","tags_url":"https://api.github.com/repos/ryzhyk/differential-datalog/tags","blobs_url":"https://api.github.com/repos/ryzhyk/differential-datalog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryzhyk/differential-datalog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryzhyk/differential-datalog/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryzhyk/differential-datalog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryzhyk/differential-datalog/statuses/{sha}","languages_url":"https://api.github.com/repos/ryzhyk/differential-datalog/languages","stargazers_url":"https://api.github.com/repos/ryzhyk/differential-datalog/stargazers","contributors_url":"https://api.github.com/repos/ryzhyk/differential-datalog/contributors","subscribers_url":"https://api.github.com/repos/ryzhyk/differential-datalog/subscribers","subscription_url":"https://api.github.com/repos/ryzhyk/differential-datalog/subscription","commits_url":"https://api.github.com/repos/ryzhyk/differential-datalog/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryzhyk/differential-datalog/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryzhyk/differential-datalog/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryzhyk/differential-datalog/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryzhyk/differential-datalog/contents/{+path}","compare_url":"https://api.github.com/repos/ryzhyk/differential-datalog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryzhyk/differential-datalog/merges","archive_url":"https://api.github.com/repos/ryzhyk/differential-datalog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryzhyk/differential-datalog/downloads","issues_url":"https://api.github.com/repos/ryzhyk/differential-datalog/issues{/number}","pulls_url":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls{/number}","milestones_url":"https://api.github.com/repos/ryzhyk/differential-datalog/milestones{/number}","notifications_url":"https://api.github.com/repos/ryzhyk/differential-datalog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryzhyk/differential-datalog/labels{/name}","releases_url":"https://api.github.com/repos/ryzhyk/differential-datalog/releases{/id}","deployments_url":"https://api.github.com/repos/ryzhyk/differential-datalog/deployments","created_at":"2018-03-20T20:14:11Z","updated_at":"2018-08-24T17:46:05Z","pushed_at":"2018-08-29T05:17:10Z","git_url":"git://github.com/ryzhyk/differential-datalog.git","ssh_url":"git@github.com:ryzhyk/differential-datalog.git","clone_url":"https://github.com/ryzhyk/differential-datalog.git","svn_url":"https://github.com/ryzhyk/differential-datalog","homepage":null,"size":407,"stargazers_count":9,"watchers_count":9,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":21,"watchers":9,"default_branch":"master"}},"base":{"label":"ryzhyk:master","ref":"master","sha":"ba27c7c59676e6e7c7d34a22616b1e55bdc16525","user":{"login":"ryzhyk","id":8323135,"node_id":"MDQ6VXNlcjgzMjMxMzU=","avatar_url":"https://avatars2.githubusercontent.com/u/8323135?v=4","gravatar_id":"","url":"https://api.github.com/users/ryzhyk","html_url":"https://github.com/ryzhyk","followers_url":"https://api.github.com/users/ryzhyk/followers","following_url":"https://api.github.com/users/ryzhyk/following{/other_user}","gists_url":"https://api.github.com/users/ryzhyk/gists{/gist_id}","starred_url":"https://api.github.com/users/ryzhyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryzhyk/subscriptions","organizations_url":"https://api.github.com/users/ryzhyk/orgs","repos_url":"https://api.github.com/users/ryzhyk/repos","events_url":"https://api.github.com/users/ryzhyk/events{/privacy}","received_events_url":"https://api.github.com/users/ryzhyk/received_events","type":"User","site_admin":false},"repo":{"id":126076620,"node_id":"MDEwOlJlcG9zaXRvcnkxMjYwNzY2MjA=","name":"differential-datalog","full_name":"ryzhyk/differential-datalog","owner":{"login":"ryzhyk","id":8323135,"node_id":"MDQ6VXNlcjgzMjMxMzU=","avatar_url":"https://avatars2.githubusercontent.com/u/8323135?v=4","gravatar_id":"","url":"https://api.github.com/users/ryzhyk","html_url":"https://github.com/ryzhyk","followers_url":"https://api.github.com/users/ryzhyk/followers","following_url":"https://api.github.com/users/ryzhyk/following{/other_user}","gists_url":"https://api.github.com/users/ryzhyk/gists{/gist_id}","starred_url":"https://api.github.com/users/ryzhyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryzhyk/subscriptions","organizations_url":"https://api.github.com/users/ryzhyk/orgs","repos_url":"https://api.github.com/users/ryzhyk/repos","events_url":"https://api.github.com/users/ryzhyk/events{/privacy}","received_events_url":"https://api.github.com/users/ryzhyk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryzhyk/differential-datalog","description":"An in-memory incremental Datalog engine based on Differential Dataflow","fork":false,"url":"https://api.github.com/repos/ryzhyk/differential-datalog","forks_url":"https://api.github.com/repos/ryzhyk/differential-datalog/forks","keys_url":"https://api.github.com/repos/ryzhyk/differential-datalog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryzhyk/differential-datalog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryzhyk/differential-datalog/teams","hooks_url":"https://api.github.com/repos/ryzhyk/differential-datalog/hooks","issue_events_url":"https://api.github.com/repos/ryzhyk/differential-datalog/issues/events{/number}","events_url":"https://api.github.com/repos/ryzhyk/differential-datalog/events","assignees_url":"https://api.github.com/repos/ryzhyk/differential-datalog/assignees{/user}","branches_url":"https://api.github.com/repos/ryzhyk/differential-datalog/branches{/branch}","tags_url":"https://api.github.com/repos/ryzhyk/differential-datalog/tags","blobs_url":"https://api.github.com/repos/ryzhyk/differential-datalog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryzhyk/differential-datalog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryzhyk/differential-datalog/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryzhyk/differential-datalog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryzhyk/differential-datalog/statuses/{sha}","languages_url":"https://api.github.com/repos/ryzhyk/differential-datalog/languages","stargazers_url":"https://api.github.com/repos/ryzhyk/differential-datalog/stargazers","contributors_url":"https://api.github.com/repos/ryzhyk/differential-datalog/contributors","subscribers_url":"https://api.github.com/repos/ryzhyk/differential-datalog/subscribers","subscription_url":"https://api.github.com/repos/ryzhyk/differential-datalog/subscription","commits_url":"https://api.github.com/repos/ryzhyk/differential-datalog/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryzhyk/differential-datalog/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryzhyk/differential-datalog/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryzhyk/differential-datalog/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryzhyk/differential-datalog/contents/{+path}","compare_url":"https://api.github.com/repos/ryzhyk/differential-datalog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryzhyk/differential-datalog/merges","archive_url":"https://api.github.com/repos/ryzhyk/differential-datalog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryzhyk/differential-datalog/downloads","issues_url":"https://api.github.com/repos/ryzhyk/differential-datalog/issues{/number}","pulls_url":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls{/number}","milestones_url":"https://api.github.com/repos/ryzhyk/differential-datalog/milestones{/number}","notifications_url":"https://api.github.com/repos/ryzhyk/differential-datalog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryzhyk/differential-datalog/labels{/name}","releases_url":"https://api.github.com/repos/ryzhyk/differential-datalog/releases{/id}","deployments_url":"https://api.github.com/repos/ryzhyk/differential-datalog/deployments","created_at":"2018-03-20T20:14:11Z","updated_at":"2018-08-24T17:46:05Z","pushed_at":"2018-08-29T05:17:10Z","git_url":"git://github.com/ryzhyk/differential-datalog.git","ssh_url":"git@github.com:ryzhyk/differential-datalog.git","clone_url":"https://github.com/ryzhyk/differential-datalog.git","svn_url":"https://github.com/ryzhyk/differential-datalog","homepage":null,"size":407,"stargazers_count":9,"watchers_count":9,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":21,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls/74"},"html":{"href":"https://github.com/ryzhyk/differential-datalog/pull/74"},"issue":{"href":"https://api.github.com/repos/ryzhyk/differential-datalog/issues/74"},"comments":{"href":"https://api.github.com/repos/ryzhyk/differential-datalog/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ryzhyk/differential-datalog/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/ryzhyk/differential-datalog/statuses/a06adbcd3a48e4ee07d423168adb7ee6494de331"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ryzhyk"}}