{"action":"closed","number":1100,"pull_request":{"url":"https://api.github.com/repos/racket/racket/pulls/1100","id":48632732,"html_url":"https://github.com/racket/racket/pull/1100","diff_url":"https://github.com/racket/racket/pull/1100.diff","patch_url":"https://github.com/racket/racket/pull/1100.patch","issue_url":"https://api.github.com/repos/racket/racket/issues/1100","number":1100,"state":"closed","locked":false,"title":"Allow separate read and write contracts for box/c","user":{"login":"AlexKnauth","id":6600123,"avatar_url":"https://avatars.githubusercontent.com/u/6600123?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexKnauth","html_url":"https://github.com/AlexKnauth","followers_url":"https://api.github.com/users/AlexKnauth/followers","following_url":"https://api.github.com/users/AlexKnauth/following{/other_user}","gists_url":"https://api.github.com/users/AlexKnauth/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKnauth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKnauth/subscriptions","organizations_url":"https://api.github.com/users/AlexKnauth/orgs","repos_url":"https://api.github.com/users/AlexKnauth/repos","events_url":"https://api.github.com/users/AlexKnauth/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKnauth/received_events","type":"User","site_admin":false},"body":"This allows `(box/c write-ctc read-ctc)` to specify that a write to a box goes through `write-ctc` and a read from the box goes through `read-ctc`. This allows box contracts that restrict mutation of the box. \r\n\r\nAlso, the `write-ctc` is contra-variant and the `read-ctc` is co-variant, so this means that a contract for the union of two mutable box types can be written using a more restrictive `write-ctc`, which is `and/c` of the two write-ctc contracts, and a less restrictive `read-ctc`, which is the `or/c` of the two read-ctc contracts.","created_at":"2015-10-23T21:33:45Z","updated_at":"2015-10-24T19:19:35Z","closed_at":"2015-10-24T19:19:34Z","merged_at":null,"merge_commit_sha":"7c0d079f33a509322c81a638541be6511f33bb99","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/racket/racket/pulls/1100/commits","review_comments_url":"https://api.github.com/repos/racket/racket/pulls/1100/comments","review_comment_url":"https://api.github.com/repos/racket/racket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/racket/racket/issues/1100/comments","statuses_url":"https://api.github.com/repos/racket/racket/statuses/aed14a4bedf60ff9f21042de141b7e2567503ef9","head":{"label":"AlexKnauth:patch-1","ref":"patch-1","sha":"aed14a4bedf60ff9f21042de141b7e2567503ef9","user":{"login":"AlexKnauth","id":6600123,"avatar_url":"https://avatars.githubusercontent.com/u/6600123?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexKnauth","html_url":"https://github.com/AlexKnauth","followers_url":"https://api.github.com/users/AlexKnauth/followers","following_url":"https://api.github.com/users/AlexKnauth/following{/other_user}","gists_url":"https://api.github.com/users/AlexKnauth/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKnauth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKnauth/subscriptions","organizations_url":"https://api.github.com/users/AlexKnauth/orgs","repos_url":"https://api.github.com/users/AlexKnauth/repos","events_url":"https://api.github.com/users/AlexKnauth/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKnauth/received_events","type":"User","site_admin":false},"repo":{"id":22012205,"name":"racket","full_name":"AlexKnauth/racket","owner":{"login":"AlexKnauth","id":6600123,"avatar_url":"https://avatars.githubusercontent.com/u/6600123?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexKnauth","html_url":"https://github.com/AlexKnauth","followers_url":"https://api.github.com/users/AlexKnauth/followers","following_url":"https://api.github.com/users/AlexKnauth/following{/other_user}","gists_url":"https://api.github.com/users/AlexKnauth/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKnauth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKnauth/subscriptions","organizations_url":"https://api.github.com/users/AlexKnauth/orgs","repos_url":"https://api.github.com/users/AlexKnauth/repos","events_url":"https://api.github.com/users/AlexKnauth/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKnauth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexKnauth/racket","description":"The Racket repository","fork":true,"url":"https://api.github.com/repos/AlexKnauth/racket","forks_url":"https://api.github.com/repos/AlexKnauth/racket/forks","keys_url":"https://api.github.com/repos/AlexKnauth/racket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexKnauth/racket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexKnauth/racket/teams","hooks_url":"https://api.github.com/repos/AlexKnauth/racket/hooks","issue_events_url":"https://api.github.com/repos/AlexKnauth/racket/issues/events{/number}","events_url":"https://api.github.com/repos/AlexKnauth/racket/events","assignees_url":"https://api.github.com/repos/AlexKnauth/racket/assignees{/user}","branches_url":"https://api.github.com/repos/AlexKnauth/racket/branches{/branch}","tags_url":"https://api.github.com/repos/AlexKnauth/racket/tags","blobs_url":"https://api.github.com/repos/AlexKnauth/racket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexKnauth/racket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexKnauth/racket/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexKnauth/racket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexKnauth/racket/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexKnauth/racket/languages","stargazers_url":"https://api.github.com/repos/AlexKnauth/racket/stargazers","contributors_url":"https://api.github.com/repos/AlexKnauth/racket/contributors","subscribers_url":"https://api.github.com/repos/AlexKnauth/racket/subscribers","subscription_url":"https://api.github.com/repos/AlexKnauth/racket/subscription","commits_url":"https://api.github.com/repos/AlexKnauth/racket/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexKnauth/racket/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexKnauth/racket/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexKnauth/racket/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexKnauth/racket/contents/{+path}","compare_url":"https://api.github.com/repos/AlexKnauth/racket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexKnauth/racket/merges","archive_url":"https://api.github.com/repos/AlexKnauth/racket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexKnauth/racket/downloads","issues_url":"https://api.github.com/repos/AlexKnauth/racket/issues{/number}","pulls_url":"https://api.github.com/repos/AlexKnauth/racket/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexKnauth/racket/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexKnauth/racket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexKnauth/racket/labels{/name}","releases_url":"https://api.github.com/repos/AlexKnauth/racket/releases{/id}","created_at":"2014-07-19T15:06:22Z","updated_at":"2015-02-08T01:58:02Z","pushed_at":"2015-10-23T23:21:09Z","git_url":"git://github.com/AlexKnauth/racket.git","ssh_url":"git@github.com:AlexKnauth/racket.git","clone_url":"https://github.com/AlexKnauth/racket.git","svn_url":"https://github.com/AlexKnauth/racket","homepage":"http://racket-lang.org/","size":157383,"stargazers_count":0,"watchers_count":0,"language":"Racket","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"racket:master","ref":"master","sha":"3eb2c20ad026706fa3f16eea0c11ac2874ce44fc","user":{"login":"racket","id":232371,"avatar_url":"https://avatars.githubusercontent.com/u/232371?v=3","gravatar_id":"","url":"https://api.github.com/users/racket","html_url":"https://github.com/racket","followers_url":"https://api.github.com/users/racket/followers","following_url":"https://api.github.com/users/racket/following{/other_user}","gists_url":"https://api.github.com/users/racket/gists{/gist_id}","starred_url":"https://api.github.com/users/racket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racket/subscriptions","organizations_url":"https://api.github.com/users/racket/orgs","repos_url":"https://api.github.com/users/racket/repos","events_url":"https://api.github.com/users/racket/events{/privacy}","received_events_url":"https://api.github.com/users/racket/received_events","type":"Organization","site_admin":false},"repo":{"id":615969,"name":"racket","full_name":"racket/racket","owner":{"login":"racket","id":232371,"avatar_url":"https://avatars.githubusercontent.com/u/232371?v=3","gravatar_id":"","url":"https://api.github.com/users/racket","html_url":"https://github.com/racket","followers_url":"https://api.github.com/users/racket/followers","following_url":"https://api.github.com/users/racket/following{/other_user}","gists_url":"https://api.github.com/users/racket/gists{/gist_id}","starred_url":"https://api.github.com/users/racket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racket/subscriptions","organizations_url":"https://api.github.com/users/racket/orgs","repos_url":"https://api.github.com/users/racket/repos","events_url":"https://api.github.com/users/racket/events{/privacy}","received_events_url":"https://api.github.com/users/racket/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/racket/racket","description":"The Racket repository","fork":false,"url":"https://api.github.com/repos/racket/racket","forks_url":"https://api.github.com/repos/racket/racket/forks","keys_url":"https://api.github.com/repos/racket/racket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/racket/racket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/racket/racket/teams","hooks_url":"https://api.github.com/repos/racket/racket/hooks","issue_events_url":"https://api.github.com/repos/racket/racket/issues/events{/number}","events_url":"https://api.github.com/repos/racket/racket/events","assignees_url":"https://api.github.com/repos/racket/racket/assignees{/user}","branches_url":"https://api.github.com/repos/racket/racket/branches{/branch}","tags_url":"https://api.github.com/repos/racket/racket/tags","blobs_url":"https://api.github.com/repos/racket/racket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/racket/racket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/racket/racket/git/refs{/sha}","trees_url":"https://api.github.com/repos/racket/racket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/racket/racket/statuses/{sha}","languages_url":"https://api.github.com/repos/racket/racket/languages","stargazers_url":"https://api.github.com/repos/racket/racket/stargazers","contributors_url":"https://api.github.com/repos/racket/racket/contributors","subscribers_url":"https://api.github.com/repos/racket/racket/subscribers","subscription_url":"https://api.github.com/repos/racket/racket/subscription","commits_url":"https://api.github.com/repos/racket/racket/commits{/sha}","git_commits_url":"https://api.github.com/repos/racket/racket/git/commits{/sha}","comments_url":"https://api.github.com/repos/racket/racket/comments{/number}","issue_comment_url":"https://api.github.com/repos/racket/racket/issues/comments{/number}","contents_url":"https://api.github.com/repos/racket/racket/contents/{+path}","compare_url":"https://api.github.com/repos/racket/racket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/racket/racket/merges","archive_url":"https://api.github.com/repos/racket/racket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/racket/racket/downloads","issues_url":"https://api.github.com/repos/racket/racket/issues{/number}","pulls_url":"https://api.github.com/repos/racket/racket/pulls{/number}","milestones_url":"https://api.github.com/repos/racket/racket/milestones{/number}","notifications_url":"https://api.github.com/repos/racket/racket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/racket/racket/labels{/name}","releases_url":"https://api.github.com/repos/racket/racket/releases{/id}","created_at":"2010-04-18T06:39:16Z","updated_at":"2015-10-24T13:28:56Z","pushed_at":"2015-10-24T19:18:01Z","git_url":"git://github.com/racket/racket.git","ssh_url":"git@github.com:racket/racket.git","clone_url":"https://github.com/racket/racket.git","svn_url":"https://github.com/racket/racket","homepage":"http://racket-lang.org/","size":223876,"stargazers_count":1207,"watchers_count":1207,"language":"Racket","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":261,"mirror_url":null,"open_issues_count":85,"forks":261,"open_issues":85,"watchers":1207,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/racket/racket/pulls/1100"},"html":{"href":"https://github.com/racket/racket/pull/1100"},"issue":{"href":"https://api.github.com/repos/racket/racket/issues/1100"},"comments":{"href":"https://api.github.com/repos/racket/racket/issues/1100/comments"},"review_comments":{"href":"https://api.github.com/repos/racket/racket/pulls/1100/comments"},"review_comment":{"href":"https://api.github.com/repos/racket/racket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/racket/racket/pulls/1100/commits"},"statuses":{"href":"https://api.github.com/repos/racket/racket/statuses/aed14a4bedf60ff9f21042de141b7e2567503ef9"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":23,"review_comments":0,"commits":3,"additions":91,"deletions":48,"changed_files":3}}