{"action":"closed","number":1961,"pull_request":{"url":"https://api.github.com/repos/racket/racket/pulls/1961","id":171065929,"html_url":"https://github.com/racket/racket/pull/1961","diff_url":"https://github.com/racket/racket/pull/1961.diff","patch_url":"https://github.com/racket/racket/pull/1961.patch","issue_url":"https://api.github.com/repos/racket/racket/issues/1961","number":1961,"state":"closed","locked":false,"title":"Added #:cut pattern directive to syntax/parse","user":{"login":"iitalics","id":1772927,"avatar_url":"https://avatars2.githubusercontent.com/u/1772927?v=4","gravatar_id":"","url":"https://api.github.com/users/iitalics","html_url":"https://github.com/iitalics","followers_url":"https://api.github.com/users/iitalics/followers","following_url":"https://api.github.com/users/iitalics/following{/other_user}","gists_url":"https://api.github.com/users/iitalics/gists{/gist_id}","starred_url":"https://api.github.com/users/iitalics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iitalics/subscriptions","organizations_url":"https://api.github.com/users/iitalics/orgs","repos_url":"https://api.github.com/users/iitalics/repos","events_url":"https://api.github.com/users/iitalics/events{/privacy}","received_events_url":"https://api.github.com/users/iitalics/received_events","type":"User","site_admin":false},"body":"The pattern directive `#:cut` is equivalent to `#:and ~!` but more explicit.\r\n\r\nTh rationale is that often I want to cut backtracking to improve error messages, but it's not clear if I should use `#:with ~! #'dummy` or `#:and ~!` or put `~!` into the clause pattern. The latter is more insidious because it can lead to subtle problems. [Example from lecture with Stephen Chang](https://ghostbin.com/paste/sx8fo)","created_at":"2018-02-23T17:01:06Z","updated_at":"2018-03-05T14:03:46Z","closed_at":"2018-03-05T14:03:46Z","merged_at":"2018-03-05T14:03:46Z","merge_commit_sha":"275d7974cd482fe4f0f7f8691b674779ac24f958","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/racket/racket/pulls/1961/commits","review_comments_url":"https://api.github.com/repos/racket/racket/pulls/1961/comments","review_comment_url":"https://api.github.com/repos/racket/racket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/racket/racket/issues/1961/comments","statuses_url":"https://api.github.com/repos/racket/racket/statuses/361f107ef57d3fe5f827d93f27d91dbf723f68d3","head":{"label":"iitalics:commit-pattern-directive","ref":"commit-pattern-directive","sha":"361f107ef57d3fe5f827d93f27d91dbf723f68d3","user":{"login":"iitalics","id":1772927,"avatar_url":"https://avatars2.githubusercontent.com/u/1772927?v=4","gravatar_id":"","url":"https://api.github.com/users/iitalics","html_url":"https://github.com/iitalics","followers_url":"https://api.github.com/users/iitalics/followers","following_url":"https://api.github.com/users/iitalics/following{/other_user}","gists_url":"https://api.github.com/users/iitalics/gists{/gist_id}","starred_url":"https://api.github.com/users/iitalics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iitalics/subscriptions","organizations_url":"https://api.github.com/users/iitalics/orgs","repos_url":"https://api.github.com/users/iitalics/repos","events_url":"https://api.github.com/users/iitalics/events{/privacy}","received_events_url":"https://api.github.com/users/iitalics/received_events","type":"User","site_admin":false},"repo":{"id":92084807,"name":"racket","full_name":"iitalics/racket","owner":{"login":"iitalics","id":1772927,"avatar_url":"https://avatars2.githubusercontent.com/u/1772927?v=4","gravatar_id":"","url":"https://api.github.com/users/iitalics","html_url":"https://github.com/iitalics","followers_url":"https://api.github.com/users/iitalics/followers","following_url":"https://api.github.com/users/iitalics/following{/other_user}","gists_url":"https://api.github.com/users/iitalics/gists{/gist_id}","starred_url":"https://api.github.com/users/iitalics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iitalics/subscriptions","organizations_url":"https://api.github.com/users/iitalics/orgs","repos_url":"https://api.github.com/users/iitalics/repos","events_url":"https://api.github.com/users/iitalics/events{/privacy}","received_events_url":"https://api.github.com/users/iitalics/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iitalics/racket","description":"The Racket repository","fork":true,"url":"https://api.github.com/repos/iitalics/racket","forks_url":"https://api.github.com/repos/iitalics/racket/forks","keys_url":"https://api.github.com/repos/iitalics/racket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iitalics/racket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iitalics/racket/teams","hooks_url":"https://api.github.com/repos/iitalics/racket/hooks","issue_events_url":"https://api.github.com/repos/iitalics/racket/issues/events{/number}","events_url":"https://api.github.com/repos/iitalics/racket/events","assignees_url":"https://api.github.com/repos/iitalics/racket/assignees{/user}","branches_url":"https://api.github.com/repos/iitalics/racket/branches{/branch}","tags_url":"https://api.github.com/repos/iitalics/racket/tags","blobs_url":"https://api.github.com/repos/iitalics/racket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iitalics/racket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iitalics/racket/git/refs{/sha}","trees_url":"https://api.github.com/repos/iitalics/racket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iitalics/racket/statuses/{sha}","languages_url":"https://api.github.com/repos/iitalics/racket/languages","stargazers_url":"https://api.github.com/repos/iitalics/racket/stargazers","contributors_url":"https://api.github.com/repos/iitalics/racket/contributors","subscribers_url":"https://api.github.com/repos/iitalics/racket/subscribers","subscription_url":"https://api.github.com/repos/iitalics/racket/subscription","commits_url":"https://api.github.com/repos/iitalics/racket/commits{/sha}","git_commits_url":"https://api.github.com/repos/iitalics/racket/git/commits{/sha}","comments_url":"https://api.github.com/repos/iitalics/racket/comments{/number}","issue_comment_url":"https://api.github.com/repos/iitalics/racket/issues/comments{/number}","contents_url":"https://api.github.com/repos/iitalics/racket/contents/{+path}","compare_url":"https://api.github.com/repos/iitalics/racket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iitalics/racket/merges","archive_url":"https://api.github.com/repos/iitalics/racket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iitalics/racket/downloads","issues_url":"https://api.github.com/repos/iitalics/racket/issues{/number}","pulls_url":"https://api.github.com/repos/iitalics/racket/pulls{/number}","milestones_url":"https://api.github.com/repos/iitalics/racket/milestones{/number}","notifications_url":"https://api.github.com/repos/iitalics/racket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iitalics/racket/labels{/name}","releases_url":"https://api.github.com/repos/iitalics/racket/releases{/id}","deployments_url":"https://api.github.com/repos/iitalics/racket/deployments","created_at":"2017-05-22T18:14:39Z","updated_at":"2017-05-22T18:14:55Z","pushed_at":"2018-03-04T08:35:27Z","git_url":"git://github.com/iitalics/racket.git","ssh_url":"git@github.com:iitalics/racket.git","clone_url":"https://github.com/iitalics/racket.git","svn_url":"https://github.com/iitalics/racket","homepage":"https://racket-lang.org/","size":175166,"stargazers_count":0,"watchers_count":0,"language":"Racket","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"racket:master","ref":"master","sha":"d56eb03432e8ee0492c91be5ef2cb753e369c9ff","user":{"login":"racket","id":232371,"avatar_url":"https://avatars3.githubusercontent.com/u/232371?v=4","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://avatars3.githubusercontent.com/u/232371?v=4","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}","deployments_url":"https://api.github.com/repos/racket/racket/deployments","created_at":"2010-04-18T06:39:16Z","updated_at":"2018-03-04T06:56:56Z","pushed_at":"2018-03-05T14:03:46Z","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":"https://racket-lang.org/","size":175669,"stargazers_count":2368,"watchers_count":2368,"language":"Racket","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":384,"mirror_url":null,"archived":false,"open_issues_count":285,"license":null,"forks":384,"open_issues":285,"watchers":2368,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/racket/racket/pulls/1961"},"html":{"href":"https://github.com/racket/racket/pull/1961"},"issue":{"href":"https://api.github.com/repos/racket/racket/issues/1961"},"comments":{"href":"https://api.github.com/repos/racket/racket/issues/1961/comments"},"review_comments":{"href":"https://api.github.com/repos/racket/racket/pulls/1961/comments"},"review_comment":{"href":"https://api.github.com/repos/racket/racket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/racket/racket/pulls/1961/commits"},"statuses":{"href":"https://api.github.com/repos/racket/racket/statuses/361f107ef57d3fe5f827d93f27d91dbf723f68d3"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"rmculpepper","id":682551,"avatar_url":"https://avatars1.githubusercontent.com/u/682551?v=4","gravatar_id":"","url":"https://api.github.com/users/rmculpepper","html_url":"https://github.com/rmculpepper","followers_url":"https://api.github.com/users/rmculpepper/followers","following_url":"https://api.github.com/users/rmculpepper/following{/other_user}","gists_url":"https://api.github.com/users/rmculpepper/gists{/gist_id}","starred_url":"https://api.github.com/users/rmculpepper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmculpepper/subscriptions","organizations_url":"https://api.github.com/users/rmculpepper/orgs","repos_url":"https://api.github.com/users/rmculpepper/repos","events_url":"https://api.github.com/users/rmculpepper/events{/privacy}","received_events_url":"https://api.github.com/users/rmculpepper/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":24,"deletions":1,"changed_files":3}}
{"actor":{"display_login":"rmculpepper"}}