{"action":"opened","number":99,"pull_request":{"url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/99","id":42736136,"html_url":"https://github.com/Gabriel439/Haskell-Turtle-Library/pull/99","diff_url":"https://github.com/Gabriel439/Haskell-Turtle-Library/pull/99.diff","patch_url":"https://github.com/Gabriel439/Haskell-Turtle-Library/pull/99.patch","issue_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/99","number":99,"state":"open","locked":false,"title":"Fix #96; `sed` now errors if passed a pattern matching the empty string","user":{"login":"rpglover64","id":233689,"avatar_url":"https://avatars.githubusercontent.com/u/233689?v=3","gravatar_id":"","url":"https://api.github.com/users/rpglover64","html_url":"https://github.com/rpglover64","followers_url":"https://api.github.com/users/rpglover64/followers","following_url":"https://api.github.com/users/rpglover64/following{/other_user}","gists_url":"https://api.github.com/users/rpglover64/gists{/gist_id}","starred_url":"https://api.github.com/users/rpglover64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpglover64/subscriptions","organizations_url":"https://api.github.com/users/rpglover64/orgs","repos_url":"https://api.github.com/users/rpglover64/repos","events_url":"https://api.github.com/users/rpglover64/events{/privacy}","received_events_url":"https://api.github.com/users/rpglover64/received_events","type":"User","site_admin":false},"body":"Unfortunately, this does not completely fix the problem. `match` is not sufficiently lazy, so `matchesEmpty` diverges if called with e.g. `many \"\"`.\r\n\r\nA more complete solution would either change `match` to be sufficiently lazy or (even better) to keep track of which patterns match the empty string as part of the `Pattern` type and either error or short circuit in cases like `many \"\"`.","created_at":"2015-08-18T19:05:49Z","updated_at":"2015-08-18T19:05:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"14ac3a8d71545fcab26725c29ecba8ad911793c5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/99/commits","review_comments_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/99/comments","review_comment_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/99/comments","statuses_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/statuses/c57eb31a946a3641cc40504cd65a48c73db51dd7","head":{"label":"rpglover64:master","ref":"master","sha":"c57eb31a946a3641cc40504cd65a48c73db51dd7","user":{"login":"rpglover64","id":233689,"avatar_url":"https://avatars.githubusercontent.com/u/233689?v=3","gravatar_id":"","url":"https://api.github.com/users/rpglover64","html_url":"https://github.com/rpglover64","followers_url":"https://api.github.com/users/rpglover64/followers","following_url":"https://api.github.com/users/rpglover64/following{/other_user}","gists_url":"https://api.github.com/users/rpglover64/gists{/gist_id}","starred_url":"https://api.github.com/users/rpglover64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpglover64/subscriptions","organizations_url":"https://api.github.com/users/rpglover64/orgs","repos_url":"https://api.github.com/users/rpglover64/repos","events_url":"https://api.github.com/users/rpglover64/events{/privacy}","received_events_url":"https://api.github.com/users/rpglover64/received_events","type":"User","site_admin":false},"repo":{"id":40990342,"name":"Haskell-Turtle-Library","full_name":"rpglover64/Haskell-Turtle-Library","owner":{"login":"rpglover64","id":233689,"avatar_url":"https://avatars.githubusercontent.com/u/233689?v=3","gravatar_id":"","url":"https://api.github.com/users/rpglover64","html_url":"https://github.com/rpglover64","followers_url":"https://api.github.com/users/rpglover64/followers","following_url":"https://api.github.com/users/rpglover64/following{/other_user}","gists_url":"https://api.github.com/users/rpglover64/gists{/gist_id}","starred_url":"https://api.github.com/users/rpglover64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpglover64/subscriptions","organizations_url":"https://api.github.com/users/rpglover64/orgs","repos_url":"https://api.github.com/users/rpglover64/repos","events_url":"https://api.github.com/users/rpglover64/events{/privacy}","received_events_url":"https://api.github.com/users/rpglover64/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rpglover64/Haskell-Turtle-Library","description":"Shell programming, Haskell style","fork":true,"url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library","forks_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/forks","keys_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/teams","hooks_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/hooks","issue_events_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/issues/events{/number}","events_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/events","assignees_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/assignees{/user}","branches_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/branches{/branch}","tags_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/tags","blobs_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/git/refs{/sha}","trees_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/statuses/{sha}","languages_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/languages","stargazers_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/stargazers","contributors_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/contributors","subscribers_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/subscribers","subscription_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/subscription","commits_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/commits{/sha}","git_commits_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/git/commits{/sha}","comments_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/comments{/number}","issue_comment_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/issues/comments{/number}","contents_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/contents/{+path}","compare_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/merges","archive_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/downloads","issues_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/issues{/number}","pulls_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/pulls{/number}","milestones_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/milestones{/number}","notifications_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/labels{/name}","releases_url":"https://api.github.com/repos/rpglover64/Haskell-Turtle-Library/releases{/id}","created_at":"2015-08-18T18:30:42Z","updated_at":"2015-08-18T18:30:43Z","pushed_at":"2015-08-18T18:56:17Z","git_url":"git://github.com/rpglover64/Haskell-Turtle-Library.git","ssh_url":"git@github.com:rpglover64/Haskell-Turtle-Library.git","clone_url":"https://github.com/rpglover64/Haskell-Turtle-Library.git","svn_url":"https://github.com/rpglover64/Haskell-Turtle-Library","homepage":null,"size":871,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Gabriel439:master","ref":"master","sha":"da98f7eee8aa0efe03dd78c59772cbb256319f9a","user":{"login":"Gabriel439","id":1313787,"avatar_url":"https://avatars.githubusercontent.com/u/1313787?v=3","gravatar_id":"","url":"https://api.github.com/users/Gabriel439","html_url":"https://github.com/Gabriel439","followers_url":"https://api.github.com/users/Gabriel439/followers","following_url":"https://api.github.com/users/Gabriel439/following{/other_user}","gists_url":"https://api.github.com/users/Gabriel439/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabriel439/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabriel439/subscriptions","organizations_url":"https://api.github.com/users/Gabriel439/orgs","repos_url":"https://api.github.com/users/Gabriel439/repos","events_url":"https://api.github.com/users/Gabriel439/events{/privacy}","received_events_url":"https://api.github.com/users/Gabriel439/received_events","type":"User","site_admin":false},"repo":{"id":29413716,"name":"Haskell-Turtle-Library","full_name":"Gabriel439/Haskell-Turtle-Library","owner":{"login":"Gabriel439","id":1313787,"avatar_url":"https://avatars.githubusercontent.com/u/1313787?v=3","gravatar_id":"","url":"https://api.github.com/users/Gabriel439","html_url":"https://github.com/Gabriel439","followers_url":"https://api.github.com/users/Gabriel439/followers","following_url":"https://api.github.com/users/Gabriel439/following{/other_user}","gists_url":"https://api.github.com/users/Gabriel439/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabriel439/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabriel439/subscriptions","organizations_url":"https://api.github.com/users/Gabriel439/orgs","repos_url":"https://api.github.com/users/Gabriel439/repos","events_url":"https://api.github.com/users/Gabriel439/events{/privacy}","received_events_url":"https://api.github.com/users/Gabriel439/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gabriel439/Haskell-Turtle-Library","description":"Shell programming, Haskell style","fork":false,"url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library","forks_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/forks","keys_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/teams","hooks_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/hooks","issue_events_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/events{/number}","events_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/events","assignees_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/assignees{/user}","branches_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/branches{/branch}","tags_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/tags","blobs_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/statuses/{sha}","languages_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/languages","stargazers_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/stargazers","contributors_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/contributors","subscribers_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/subscribers","subscription_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/subscription","commits_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/contents/{+path}","compare_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/merges","archive_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/downloads","issues_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues{/number}","pulls_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls{/number}","milestones_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/milestones{/number}","notifications_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/labels{/name}","releases_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/releases{/id}","created_at":"2015-01-18T02:53:20Z","updated_at":"2015-08-18T16:23:52Z","pushed_at":"2015-08-18T19:05:49Z","git_url":"git://github.com/Gabriel439/Haskell-Turtle-Library.git","ssh_url":"git@github.com:Gabriel439/Haskell-Turtle-Library.git","clone_url":"https://github.com/Gabriel439/Haskell-Turtle-Library.git","svn_url":"https://github.com/Gabriel439/Haskell-Turtle-Library","homepage":null,"size":871,"stargazers_count":213,"watchers_count":213,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":28,"forks":17,"open_issues":28,"watchers":213,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/99"},"html":{"href":"https://github.com/Gabriel439/Haskell-Turtle-Library/pull/99"},"issue":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/99"},"comments":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/statuses/c57eb31a946a3641cc40504cd65a48c73db51dd7"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":11,"deletions":1,"changed_files":2}}