{"action":"closed","number":47,"pull_request":{"url":"https://api.github.com/repos/rpominov/static-land/pulls/47","id":168442189,"html_url":"https://github.com/rpominov/static-land/pull/47","diff_url":"https://github.com/rpominov/static-land/pull/47.diff","patch_url":"https://github.com/rpominov/static-land/pull/47.patch","issue_url":"https://api.github.com/repos/rpominov/static-land/issues/47","number":47,"state":"closed","locked":false,"title":"Implement Static Land module with ECMAScript module","user":{"login":"paldepind","id":521604,"avatar_url":"https://avatars1.githubusercontent.com/u/521604?v=4","gravatar_id":"","url":"https://api.github.com/users/paldepind","html_url":"https://github.com/paldepind","followers_url":"https://api.github.com/users/paldepind/followers","following_url":"https://api.github.com/users/paldepind/following{/other_user}","gists_url":"https://api.github.com/users/paldepind/gists{/gist_id}","starred_url":"https://api.github.com/users/paldepind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paldepind/subscriptions","organizations_url":"https://api.github.com/users/paldepind/orgs","repos_url":"https://api.github.com/users/paldepind/repos","events_url":"https://api.github.com/users/paldepind/events{/privacy}","received_events_url":"https://api.github.com/users/paldepind/received_events","type":"User","site_admin":false},"body":"Hello @rpominov. Thank you for the great work on this project.\r\n\r\nThis PR is half question half PR.\r\n\r\nFrom reading the [module spec](https://github.com/rpominov/static-land/blob/master/docs/spec.md#module) it seems that we can implement a Static Land module simply as an ECMAScript module? I.e. where instead of exporting an object with the Static Land functions the ECMAScript module is itself the Static Land module. The code in the PR shows what I mean.\r\n\r\nIs that a correct way to implement Static Land? Is that a good way to implement Static Land?","created_at":"2018-02-11T08:10:57Z","updated_at":"2018-02-11T16:59:23Z","closed_at":"2018-02-11T16:59:23Z","merged_at":"2018-02-11T16:59:23Z","merge_commit_sha":"fc5ef4c6f239b1176efab358d23972bc96e4dfb1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rpominov/static-land/pulls/47/commits","review_comments_url":"https://api.github.com/repos/rpominov/static-land/pulls/47/comments","review_comment_url":"https://api.github.com/repos/rpominov/static-land/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rpominov/static-land/issues/47/comments","statuses_url":"https://api.github.com/repos/rpominov/static-land/statuses/22413f51110e0208f6155c8b2955a0a364f62b47","head":{"label":"paldepind:ecmascript-modules-example","ref":"ecmascript-modules-example","sha":"22413f51110e0208f6155c8b2955a0a364f62b47","user":{"login":"paldepind","id":521604,"avatar_url":"https://avatars1.githubusercontent.com/u/521604?v=4","gravatar_id":"","url":"https://api.github.com/users/paldepind","html_url":"https://github.com/paldepind","followers_url":"https://api.github.com/users/paldepind/followers","following_url":"https://api.github.com/users/paldepind/following{/other_user}","gists_url":"https://api.github.com/users/paldepind/gists{/gist_id}","starred_url":"https://api.github.com/users/paldepind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paldepind/subscriptions","organizations_url":"https://api.github.com/users/paldepind/orgs","repos_url":"https://api.github.com/users/paldepind/repos","events_url":"https://api.github.com/users/paldepind/events{/privacy}","received_events_url":"https://api.github.com/users/paldepind/received_events","type":"User","site_admin":false},"repo":{"id":64776069,"name":"static-land","full_name":"paldepind/static-land","owner":{"login":"paldepind","id":521604,"avatar_url":"https://avatars1.githubusercontent.com/u/521604?v=4","gravatar_id":"","url":"https://api.github.com/users/paldepind","html_url":"https://github.com/paldepind","followers_url":"https://api.github.com/users/paldepind/followers","following_url":"https://api.github.com/users/paldepind/following{/other_user}","gists_url":"https://api.github.com/users/paldepind/gists{/gist_id}","starred_url":"https://api.github.com/users/paldepind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paldepind/subscriptions","organizations_url":"https://api.github.com/users/paldepind/orgs","repos_url":"https://api.github.com/users/paldepind/repos","events_url":"https://api.github.com/users/paldepind/events{/privacy}","received_events_url":"https://api.github.com/users/paldepind/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paldepind/static-land","description":"[EXPERIMENTAL] Specification for common algebraic types in JavaScript based on Fantasy Land","fork":true,"url":"https://api.github.com/repos/paldepind/static-land","forks_url":"https://api.github.com/repos/paldepind/static-land/forks","keys_url":"https://api.github.com/repos/paldepind/static-land/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paldepind/static-land/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paldepind/static-land/teams","hooks_url":"https://api.github.com/repos/paldepind/static-land/hooks","issue_events_url":"https://api.github.com/repos/paldepind/static-land/issues/events{/number}","events_url":"https://api.github.com/repos/paldepind/static-land/events","assignees_url":"https://api.github.com/repos/paldepind/static-land/assignees{/user}","branches_url":"https://api.github.com/repos/paldepind/static-land/branches{/branch}","tags_url":"https://api.github.com/repos/paldepind/static-land/tags","blobs_url":"https://api.github.com/repos/paldepind/static-land/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paldepind/static-land/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paldepind/static-land/git/refs{/sha}","trees_url":"https://api.github.com/repos/paldepind/static-land/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paldepind/static-land/statuses/{sha}","languages_url":"https://api.github.com/repos/paldepind/static-land/languages","stargazers_url":"https://api.github.com/repos/paldepind/static-land/stargazers","contributors_url":"https://api.github.com/repos/paldepind/static-land/contributors","subscribers_url":"https://api.github.com/repos/paldepind/static-land/subscribers","subscription_url":"https://api.github.com/repos/paldepind/static-land/subscription","commits_url":"https://api.github.com/repos/paldepind/static-land/commits{/sha}","git_commits_url":"https://api.github.com/repos/paldepind/static-land/git/commits{/sha}","comments_url":"https://api.github.com/repos/paldepind/static-land/comments{/number}","issue_comment_url":"https://api.github.com/repos/paldepind/static-land/issues/comments{/number}","contents_url":"https://api.github.com/repos/paldepind/static-land/contents/{+path}","compare_url":"https://api.github.com/repos/paldepind/static-land/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paldepind/static-land/merges","archive_url":"https://api.github.com/repos/paldepind/static-land/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paldepind/static-land/downloads","issues_url":"https://api.github.com/repos/paldepind/static-land/issues{/number}","pulls_url":"https://api.github.com/repos/paldepind/static-land/pulls{/number}","milestones_url":"https://api.github.com/repos/paldepind/static-land/milestones{/number}","notifications_url":"https://api.github.com/repos/paldepind/static-land/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paldepind/static-land/labels{/name}","releases_url":"https://api.github.com/repos/paldepind/static-land/releases{/id}","deployments_url":"https://api.github.com/repos/paldepind/static-land/deployments","created_at":"2016-08-02T17:05:30Z","updated_at":"2016-08-02T17:05:31Z","pushed_at":"2018-02-11T07:55:49Z","git_url":"git://github.com/paldepind/static-land.git","ssh_url":"git@github.com:paldepind/static-land.git","clone_url":"https://github.com/paldepind/static-land.git","svn_url":"https://github.com/paldepind/static-land","homepage":"","size":110,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"rpominov:master","ref":"master","sha":"b670feb27ab872db2f6a3af2b57f896738b1b75b","user":{"login":"rpominov","id":825702,"avatar_url":"https://avatars3.githubusercontent.com/u/825702?v=4","gravatar_id":"","url":"https://api.github.com/users/rpominov","html_url":"https://github.com/rpominov","followers_url":"https://api.github.com/users/rpominov/followers","following_url":"https://api.github.com/users/rpominov/following{/other_user}","gists_url":"https://api.github.com/users/rpominov/gists{/gist_id}","starred_url":"https://api.github.com/users/rpominov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpominov/subscriptions","organizations_url":"https://api.github.com/users/rpominov/orgs","repos_url":"https://api.github.com/users/rpominov/repos","events_url":"https://api.github.com/users/rpominov/events{/privacy}","received_events_url":"https://api.github.com/users/rpominov/received_events","type":"User","site_admin":false},"repo":{"id":53745720,"name":"static-land","full_name":"rpominov/static-land","owner":{"login":"rpominov","id":825702,"avatar_url":"https://avatars3.githubusercontent.com/u/825702?v=4","gravatar_id":"","url":"https://api.github.com/users/rpominov","html_url":"https://github.com/rpominov","followers_url":"https://api.github.com/users/rpominov/followers","following_url":"https://api.github.com/users/rpominov/following{/other_user}","gists_url":"https://api.github.com/users/rpominov/gists{/gist_id}","starred_url":"https://api.github.com/users/rpominov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpominov/subscriptions","organizations_url":"https://api.github.com/users/rpominov/orgs","repos_url":"https://api.github.com/users/rpominov/repos","events_url":"https://api.github.com/users/rpominov/events{/privacy}","received_events_url":"https://api.github.com/users/rpominov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rpominov/static-land","description":"Specification for common algebraic structures in JavaScript based on Fantasy Land","fork":false,"url":"https://api.github.com/repos/rpominov/static-land","forks_url":"https://api.github.com/repos/rpominov/static-land/forks","keys_url":"https://api.github.com/repos/rpominov/static-land/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rpominov/static-land/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rpominov/static-land/teams","hooks_url":"https://api.github.com/repos/rpominov/static-land/hooks","issue_events_url":"https://api.github.com/repos/rpominov/static-land/issues/events{/number}","events_url":"https://api.github.com/repos/rpominov/static-land/events","assignees_url":"https://api.github.com/repos/rpominov/static-land/assignees{/user}","branches_url":"https://api.github.com/repos/rpominov/static-land/branches{/branch}","tags_url":"https://api.github.com/repos/rpominov/static-land/tags","blobs_url":"https://api.github.com/repos/rpominov/static-land/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rpominov/static-land/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rpominov/static-land/git/refs{/sha}","trees_url":"https://api.github.com/repos/rpominov/static-land/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rpominov/static-land/statuses/{sha}","languages_url":"https://api.github.com/repos/rpominov/static-land/languages","stargazers_url":"https://api.github.com/repos/rpominov/static-land/stargazers","contributors_url":"https://api.github.com/repos/rpominov/static-land/contributors","subscribers_url":"https://api.github.com/repos/rpominov/static-land/subscribers","subscription_url":"https://api.github.com/repos/rpominov/static-land/subscription","commits_url":"https://api.github.com/repos/rpominov/static-land/commits{/sha}","git_commits_url":"https://api.github.com/repos/rpominov/static-land/git/commits{/sha}","comments_url":"https://api.github.com/repos/rpominov/static-land/comments{/number}","issue_comment_url":"https://api.github.com/repos/rpominov/static-land/issues/comments{/number}","contents_url":"https://api.github.com/repos/rpominov/static-land/contents/{+path}","compare_url":"https://api.github.com/repos/rpominov/static-land/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rpominov/static-land/merges","archive_url":"https://api.github.com/repos/rpominov/static-land/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rpominov/static-land/downloads","issues_url":"https://api.github.com/repos/rpominov/static-land/issues{/number}","pulls_url":"https://api.github.com/repos/rpominov/static-land/pulls{/number}","milestones_url":"https://api.github.com/repos/rpominov/static-land/milestones{/number}","notifications_url":"https://api.github.com/repos/rpominov/static-land/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rpominov/static-land/labels{/name}","releases_url":"https://api.github.com/repos/rpominov/static-land/releases{/id}","deployments_url":"https://api.github.com/repos/rpominov/static-land/deployments","created_at":"2016-03-12T18:04:07Z","updated_at":"2018-02-11T12:21:55Z","pushed_at":"2018-02-11T16:59:23Z","git_url":"git://github.com/rpominov/static-land.git","ssh_url":"git@github.com:rpominov/static-land.git","clone_url":"https://github.com/rpominov/static-land.git","svn_url":"https://github.com/rpominov/static-land","homepage":"","size":111,"stargazers_count":385,"watchers_count":385,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":23,"open_issues":6,"watchers":385,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rpominov/static-land/pulls/47"},"html":{"href":"https://github.com/rpominov/static-land/pull/47"},"issue":{"href":"https://api.github.com/repos/rpominov/static-land/issues/47"},"comments":{"href":"https://api.github.com/repos/rpominov/static-land/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/rpominov/static-land/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/rpominov/static-land/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rpominov/static-land/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/rpominov/static-land/statuses/22413f51110e0208f6155c8b2955a0a364f62b47"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"rpominov","id":825702,"avatar_url":"https://avatars3.githubusercontent.com/u/825702?v=4","gravatar_id":"","url":"https://api.github.com/users/rpominov","html_url":"https://github.com/rpominov","followers_url":"https://api.github.com/users/rpominov/followers","following_url":"https://api.github.com/users/rpominov/following{/other_user}","gists_url":"https://api.github.com/users/rpominov/gists{/gist_id}","starred_url":"https://api.github.com/users/rpominov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpominov/subscriptions","organizations_url":"https://api.github.com/users/rpominov/orgs","repos_url":"https://api.github.com/users/rpominov/repos","events_url":"https://api.github.com/users/rpominov/events{/privacy}","received_events_url":"https://api.github.com/users/rpominov/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":23,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"rpominov"}}