{"action":"opened","number":3436,"pull_request":{"url":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/3436","id":85649779,"html_url":"https://github.com/idris-lang/Idris-dev/pull/3436","diff_url":"https://github.com/idris-lang/Idris-dev/pull/3436.diff","patch_url":"https://github.com/idris-lang/Idris-dev/pull/3436.patch","issue_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/3436","number":3436,"state":"open","locked":false,"title":"Work around GHCJS's patched export of isWindows from System.FilePath","user":{"login":"benjamin-hodgson","id":3857587,"avatar_url":"https://avatars.githubusercontent.com/u/3857587?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamin-hodgson","html_url":"https://github.com/benjamin-hodgson","followers_url":"https://api.github.com/users/benjamin-hodgson/followers","following_url":"https://api.github.com/users/benjamin-hodgson/following{/other_user}","gists_url":"https://api.github.com/users/benjamin-hodgson/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamin-hodgson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamin-hodgson/subscriptions","organizations_url":"https://api.github.com/users/benjamin-hodgson/orgs","repos_url":"https://api.github.com/users/benjamin-hodgson/repos","events_url":"https://api.github.com/users/benjamin-hodgson/events{/privacy}","received_events_url":"https://api.github.com/users/benjamin-hodgson/received_events","type":"User","site_admin":false},"body":"Right now Idris fails to compile under GHCJS because [GHCJS's `System.FilePath` module](https://github.com/ghcjs/ghcjs-boot/blob/master/patches/filepath.patch) exports an `isWindows` name. This clashes with Idris's internal `Util.System.isWindows` function.\r\n\r\nI've worked around this here by importing only the required names from `System.FilePath`.\r\n\r\nThere's an [open issue](https://github.com/ghcjs/ghcjs-boot/issues/38) in the GHCJS repository to fix this once and for all, but since the issue has a simple workaround I thought I'd contribute this patch to Idris too.\r\n\r\nThanks! 🙂","created_at":"2016-09-16T22:37:16Z","updated_at":"2016-09-16T22:37:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/3436/commits","review_comments_url":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/3436/comments","review_comment_url":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/comments{/number}","comments_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/3436/comments","statuses_url":"https://api.github.com/repos/idris-lang/Idris-dev/statuses/54f8988e63569486c15d32aa42c7978931f5a074","head":{"label":"benjamin-hodgson:ghcjs-isWindows","ref":"ghcjs-isWindows","sha":"54f8988e63569486c15d32aa42c7978931f5a074","user":{"login":"benjamin-hodgson","id":3857587,"avatar_url":"https://avatars.githubusercontent.com/u/3857587?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamin-hodgson","html_url":"https://github.com/benjamin-hodgson","followers_url":"https://api.github.com/users/benjamin-hodgson/followers","following_url":"https://api.github.com/users/benjamin-hodgson/following{/other_user}","gists_url":"https://api.github.com/users/benjamin-hodgson/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamin-hodgson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamin-hodgson/subscriptions","organizations_url":"https://api.github.com/users/benjamin-hodgson/orgs","repos_url":"https://api.github.com/users/benjamin-hodgson/repos","events_url":"https://api.github.com/users/benjamin-hodgson/events{/privacy}","received_events_url":"https://api.github.com/users/benjamin-hodgson/received_events","type":"User","site_admin":false},"repo":{"id":35551938,"name":"Idris-dev","full_name":"benjamin-hodgson/Idris-dev","owner":{"login":"benjamin-hodgson","id":3857587,"avatar_url":"https://avatars.githubusercontent.com/u/3857587?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamin-hodgson","html_url":"https://github.com/benjamin-hodgson","followers_url":"https://api.github.com/users/benjamin-hodgson/followers","following_url":"https://api.github.com/users/benjamin-hodgson/following{/other_user}","gists_url":"https://api.github.com/users/benjamin-hodgson/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamin-hodgson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamin-hodgson/subscriptions","organizations_url":"https://api.github.com/users/benjamin-hodgson/orgs","repos_url":"https://api.github.com/users/benjamin-hodgson/repos","events_url":"https://api.github.com/users/benjamin-hodgson/events{/privacy}","received_events_url":"https://api.github.com/users/benjamin-hodgson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benjamin-hodgson/Idris-dev","description":"A Dependently Typed Functional Programming Language","fork":true,"url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev","forks_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/forks","keys_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/teams","hooks_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/hooks","issue_events_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/issues/events{/number}","events_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/events","assignees_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/assignees{/user}","branches_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/branches{/branch}","tags_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/tags","blobs_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/languages","stargazers_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/stargazers","contributors_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/contributors","subscribers_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/subscribers","subscription_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/subscription","commits_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/contents/{+path}","compare_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/merges","archive_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/downloads","issues_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/issues{/number}","pulls_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/labels{/name}","releases_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/releases{/id}","deployments_url":"https://api.github.com/repos/benjamin-hodgson/Idris-dev/deployments","created_at":"2015-05-13T13:53:26Z","updated_at":"2016-09-16T22:00:57Z","pushed_at":"2016-09-16T22:35:29Z","git_url":"git://github.com/benjamin-hodgson/Idris-dev.git","ssh_url":"git@github.com:benjamin-hodgson/Idris-dev.git","clone_url":"https://github.com/benjamin-hodgson/Idris-dev.git","svn_url":"https://github.com/benjamin-hodgson/Idris-dev","homepage":"http://idris-lang.org","size":28199,"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":"idris-lang:master","ref":"master","sha":"d386412a24c2b64172a602985cd4294d1b9e21d7","user":{"login":"idris-lang","id":5552910,"avatar_url":"https://avatars.githubusercontent.com/u/5552910?v=3","gravatar_id":"","url":"https://api.github.com/users/idris-lang","html_url":"https://github.com/idris-lang","followers_url":"https://api.github.com/users/idris-lang/followers","following_url":"https://api.github.com/users/idris-lang/following{/other_user}","gists_url":"https://api.github.com/users/idris-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/idris-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idris-lang/subscriptions","organizations_url":"https://api.github.com/users/idris-lang/orgs","repos_url":"https://api.github.com/users/idris-lang/repos","events_url":"https://api.github.com/users/idris-lang/events{/privacy}","received_events_url":"https://api.github.com/users/idris-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":2386778,"name":"Idris-dev","full_name":"idris-lang/Idris-dev","owner":{"login":"idris-lang","id":5552910,"avatar_url":"https://avatars.githubusercontent.com/u/5552910?v=3","gravatar_id":"","url":"https://api.github.com/users/idris-lang","html_url":"https://github.com/idris-lang","followers_url":"https://api.github.com/users/idris-lang/followers","following_url":"https://api.github.com/users/idris-lang/following{/other_user}","gists_url":"https://api.github.com/users/idris-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/idris-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idris-lang/subscriptions","organizations_url":"https://api.github.com/users/idris-lang/orgs","repos_url":"https://api.github.com/users/idris-lang/repos","events_url":"https://api.github.com/users/idris-lang/events{/privacy}","received_events_url":"https://api.github.com/users/idris-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/idris-lang/Idris-dev","description":"A Dependently Typed Functional Programming Language","fork":false,"url":"https://api.github.com/repos/idris-lang/Idris-dev","forks_url":"https://api.github.com/repos/idris-lang/Idris-dev/forks","keys_url":"https://api.github.com/repos/idris-lang/Idris-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idris-lang/Idris-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idris-lang/Idris-dev/teams","hooks_url":"https://api.github.com/repos/idris-lang/Idris-dev/hooks","issue_events_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/events{/number}","events_url":"https://api.github.com/repos/idris-lang/Idris-dev/events","assignees_url":"https://api.github.com/repos/idris-lang/Idris-dev/assignees{/user}","branches_url":"https://api.github.com/repos/idris-lang/Idris-dev/branches{/branch}","tags_url":"https://api.github.com/repos/idris-lang/Idris-dev/tags","blobs_url":"https://api.github.com/repos/idris-lang/Idris-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idris-lang/Idris-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idris-lang/Idris-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/idris-lang/Idris-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idris-lang/Idris-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/idris-lang/Idris-dev/languages","stargazers_url":"https://api.github.com/repos/idris-lang/Idris-dev/stargazers","contributors_url":"https://api.github.com/repos/idris-lang/Idris-dev/contributors","subscribers_url":"https://api.github.com/repos/idris-lang/Idris-dev/subscribers","subscription_url":"https://api.github.com/repos/idris-lang/Idris-dev/subscription","commits_url":"https://api.github.com/repos/idris-lang/Idris-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/idris-lang/Idris-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/idris-lang/Idris-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/idris-lang/Idris-dev/contents/{+path}","compare_url":"https://api.github.com/repos/idris-lang/Idris-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idris-lang/Idris-dev/merges","archive_url":"https://api.github.com/repos/idris-lang/Idris-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idris-lang/Idris-dev/downloads","issues_url":"https://api.github.com/repos/idris-lang/Idris-dev/issues{/number}","pulls_url":"https://api.github.com/repos/idris-lang/Idris-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/idris-lang/Idris-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/idris-lang/Idris-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idris-lang/Idris-dev/labels{/name}","releases_url":"https://api.github.com/repos/idris-lang/Idris-dev/releases{/id}","deployments_url":"https://api.github.com/repos/idris-lang/Idris-dev/deployments","created_at":"2011-09-14T16:55:49Z","updated_at":"2016-09-16T12:15:15Z","pushed_at":"2016-09-16T22:37:16Z","git_url":"git://github.com/idris-lang/Idris-dev.git","ssh_url":"git@github.com:idris-lang/Idris-dev.git","clone_url":"https://github.com/idris-lang/Idris-dev.git","svn_url":"https://github.com/idris-lang/Idris-dev","homepage":"http://idris-lang.org","size":32644,"stargazers_count":1355,"watchers_count":1355,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":355,"mirror_url":null,"open_issues_count":379,"forks":355,"open_issues":379,"watchers":1355,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/3436"},"html":{"href":"https://github.com/idris-lang/Idris-dev/pull/3436"},"issue":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/issues/3436"},"comments":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/issues/3436/comments"},"review_comments":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/3436/comments"},"review_comment":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/pulls/3436/commits"},"statuses":{"href":"https://api.github.com/repos/idris-lang/Idris-dev/statuses/54f8988e63569486c15d32aa42c7978931f5a074"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"benjamin-hodgson"}}