{"action":"created","comment":{"url":"https://api.github.com/repos/hylang/hy/pulls/comments/85432851","pull_request_review_id":6150740,"id":85432851,"diff_hunk":"@@ -1,7 +1,12 @@\n from hy.macros import macro\n-from hy import HyList\n+from hy import HyList, HyInteger\n \n \n @macro(\"qplah\")\n def tmac(*tree):\n-    return HyList(tree)\n+    return HyList((HyInteger(8), ) + tree)","path":"tests/resources/tlib.py","position":9,"original_position":9,"commit_id":"ce722163b06b790c969f89c53cd348ac12a27b89","original_commit_id":"ce722163b06b790c969f89c53cd348ac12a27b89","user":{"login":"kirbyfan64","id":1690697,"avatar_url":"https://avatars.githubusercontent.com/u/1690697?v=3","gravatar_id":"","url":"https://api.github.com/users/kirbyfan64","html_url":"https://github.com/kirbyfan64","followers_url":"https://api.github.com/users/kirbyfan64/followers","following_url":"https://api.github.com/users/kirbyfan64/following{/other_user}","gists_url":"https://api.github.com/users/kirbyfan64/gists{/gist_id}","starred_url":"https://api.github.com/users/kirbyfan64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirbyfan64/subscriptions","organizations_url":"https://api.github.com/users/kirbyfan64/orgs","repos_url":"https://api.github.com/users/kirbyfan64/repos","events_url":"https://api.github.com/users/kirbyfan64/events{/privacy}","received_events_url":"https://api.github.com/users/kirbyfan64/received_events","type":"User","site_admin":false},"body":"???","created_at":"2016-10-27T21:36:35Z","updated_at":"2016-10-27T21:44:27Z","html_url":"https://github.com/hylang/hy/pull/1142#discussion_r85432851","pull_request_url":"https://api.github.com/repos/hylang/hy/pulls/1142","_links":{"self":{"href":"https://api.github.com/repos/hylang/hy/pulls/comments/85432851"},"html":{"href":"https://github.com/hylang/hy/pull/1142#discussion_r85432851"},"pull_request":{"href":"https://api.github.com/repos/hylang/hy/pulls/1142"}}},"pull_request":{"url":"https://api.github.com/repos/hylang/hy/pulls/1142","id":91281367,"html_url":"https://github.com/hylang/hy/pull/1142","diff_url":"https://github.com/hylang/hy/pull/1142.diff","patch_url":"https://github.com/hylang/hy/pull/1142.patch","issue_url":"https://api.github.com/repos/hylang/hy/issues/1142","number":1142,"state":"open","locked":false,"title":"Give `require` the same features as `import`","user":{"login":"Kodiologist","id":322730,"avatar_url":"https://avatars.githubusercontent.com/u/322730?v=3","gravatar_id":"","url":"https://api.github.com/users/Kodiologist","html_url":"https://github.com/Kodiologist","followers_url":"https://api.github.com/users/Kodiologist/followers","following_url":"https://api.github.com/users/Kodiologist/following{/other_user}","gists_url":"https://api.github.com/users/Kodiologist/gists{/gist_id}","starred_url":"https://api.github.com/users/Kodiologist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kodiologist/subscriptions","organizations_url":"https://api.github.com/users/Kodiologist/orgs","repos_url":"https://api.github.com/users/Kodiologist/repos","events_url":"https://api.github.com/users/Kodiologist/events{/privacy}","received_events_url":"https://api.github.com/users/Kodiologist/received_events","type":"User","site_admin":false},"body":"You can now do `(require foo)`, `(require [foo [a b c]])`, `(require [foo [*]])`, and `(require [foo :as bar])`. The first and last forms get you macros named `foo.a`, `foo.b`, etc. or `bar.a`, `bar.b`, etc., respectively. The second form only gets the macros in the list.\r\n\r\nImplements #1118 and perhaps partly addresses #277.\r\n\r\nN.B. The new meaning of `(require foo)` will cause all existing code that uses macros to break. Simply replace these forms with `(require [foo [*]])` to get your code working again.\r\n\r\nThere's a bit of a hack involved in the forms `(require foo)` and `(require [foo :as bar])`. When you call `(foo.a ...)` or `(bar.a ...)`, Hy doesn't actually look inside modules. Instead, these `(require ...)` forms give the macros names that have periods in them, which happens to work fine with the way Hy finds and interprets macro calls.\r\n\r\nIf this all looks good, I'll update the documentation accordingly.","created_at":"2016-10-27T21:10:22Z","updated_at":"2016-10-27T21:44:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d6b3a06a13882811b5ca61666d96f5faa560ca0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hylang/hy/pulls/1142/commits","review_comments_url":"https://api.github.com/repos/hylang/hy/pulls/1142/comments","review_comment_url":"https://api.github.com/repos/hylang/hy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hylang/hy/issues/1142/comments","statuses_url":"https://api.github.com/repos/hylang/hy/statuses/ce722163b06b790c969f89c53cd348ac12a27b89","head":{"label":"Kodiologist:require-extensions","ref":"require-extensions","sha":"ce722163b06b790c969f89c53cd348ac12a27b89","user":{"login":"Kodiologist","id":322730,"avatar_url":"https://avatars.githubusercontent.com/u/322730?v=3","gravatar_id":"","url":"https://api.github.com/users/Kodiologist","html_url":"https://github.com/Kodiologist","followers_url":"https://api.github.com/users/Kodiologist/followers","following_url":"https://api.github.com/users/Kodiologist/following{/other_user}","gists_url":"https://api.github.com/users/Kodiologist/gists{/gist_id}","starred_url":"https://api.github.com/users/Kodiologist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kodiologist/subscriptions","organizations_url":"https://api.github.com/users/Kodiologist/orgs","repos_url":"https://api.github.com/users/Kodiologist/repos","events_url":"https://api.github.com/users/Kodiologist/events{/privacy}","received_events_url":"https://api.github.com/users/Kodiologist/received_events","type":"User","site_admin":false},"repo":{"id":68492238,"name":"hy","full_name":"Kodiologist/hy","owner":{"login":"Kodiologist","id":322730,"avatar_url":"https://avatars.githubusercontent.com/u/322730?v=3","gravatar_id":"","url":"https://api.github.com/users/Kodiologist","html_url":"https://github.com/Kodiologist","followers_url":"https://api.github.com/users/Kodiologist/followers","following_url":"https://api.github.com/users/Kodiologist/following{/other_user}","gists_url":"https://api.github.com/users/Kodiologist/gists{/gist_id}","starred_url":"https://api.github.com/users/Kodiologist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kodiologist/subscriptions","organizations_url":"https://api.github.com/users/Kodiologist/orgs","repos_url":"https://api.github.com/users/Kodiologist/repos","events_url":"https://api.github.com/users/Kodiologist/events{/privacy}","received_events_url":"https://api.github.com/users/Kodiologist/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kodiologist/hy","description":"A dialect of Lisp that's embedded in Python","fork":true,"url":"https://api.github.com/repos/Kodiologist/hy","forks_url":"https://api.github.com/repos/Kodiologist/hy/forks","keys_url":"https://api.github.com/repos/Kodiologist/hy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kodiologist/hy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kodiologist/hy/teams","hooks_url":"https://api.github.com/repos/Kodiologist/hy/hooks","issue_events_url":"https://api.github.com/repos/Kodiologist/hy/issues/events{/number}","events_url":"https://api.github.com/repos/Kodiologist/hy/events","assignees_url":"https://api.github.com/repos/Kodiologist/hy/assignees{/user}","branches_url":"https://api.github.com/repos/Kodiologist/hy/branches{/branch}","tags_url":"https://api.github.com/repos/Kodiologist/hy/tags","blobs_url":"https://api.github.com/repos/Kodiologist/hy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kodiologist/hy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kodiologist/hy/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kodiologist/hy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kodiologist/hy/statuses/{sha}","languages_url":"https://api.github.com/repos/Kodiologist/hy/languages","stargazers_url":"https://api.github.com/repos/Kodiologist/hy/stargazers","contributors_url":"https://api.github.com/repos/Kodiologist/hy/contributors","subscribers_url":"https://api.github.com/repos/Kodiologist/hy/subscribers","subscription_url":"https://api.github.com/repos/Kodiologist/hy/subscription","commits_url":"https://api.github.com/repos/Kodiologist/hy/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kodiologist/hy/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kodiologist/hy/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kodiologist/hy/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kodiologist/hy/contents/{+path}","compare_url":"https://api.github.com/repos/Kodiologist/hy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kodiologist/hy/merges","archive_url":"https://api.github.com/repos/Kodiologist/hy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kodiologist/hy/downloads","issues_url":"https://api.github.com/repos/Kodiologist/hy/issues{/number}","pulls_url":"https://api.github.com/repos/Kodiologist/hy/pulls{/number}","milestones_url":"https://api.github.com/repos/Kodiologist/hy/milestones{/number}","notifications_url":"https://api.github.com/repos/Kodiologist/hy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kodiologist/hy/labels{/name}","releases_url":"https://api.github.com/repos/Kodiologist/hy/releases{/id}","deployments_url":"https://api.github.com/repos/Kodiologist/hy/deployments","created_at":"2016-09-18T03:04:05Z","updated_at":"2016-09-18T03:04:07Z","pushed_at":"2016-10-27T21:08:07Z","git_url":"git://github.com/Kodiologist/hy.git","ssh_url":"git@github.com:Kodiologist/hy.git","clone_url":"https://github.com/Kodiologist/hy.git","svn_url":"https://github.com/Kodiologist/hy","homepage":"http://hylang.org/","size":3455,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"hylang:master","ref":"master","sha":"0abc218ae06c473cc84993f3fcaaa408d7922990","user":{"login":"hylang","id":4141508,"avatar_url":"https://avatars.githubusercontent.com/u/4141508?v=3","gravatar_id":"","url":"https://api.github.com/users/hylang","html_url":"https://github.com/hylang","followers_url":"https://api.github.com/users/hylang/followers","following_url":"https://api.github.com/users/hylang/following{/other_user}","gists_url":"https://api.github.com/users/hylang/gists{/gist_id}","starred_url":"https://api.github.com/users/hylang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hylang/subscriptions","organizations_url":"https://api.github.com/users/hylang/orgs","repos_url":"https://api.github.com/users/hylang/repos","events_url":"https://api.github.com/users/hylang/events{/privacy}","received_events_url":"https://api.github.com/users/hylang/received_events","type":"Organization","site_admin":false},"repo":{"id":7184072,"name":"hy","full_name":"hylang/hy","owner":{"login":"hylang","id":4141508,"avatar_url":"https://avatars.githubusercontent.com/u/4141508?v=3","gravatar_id":"","url":"https://api.github.com/users/hylang","html_url":"https://github.com/hylang","followers_url":"https://api.github.com/users/hylang/followers","following_url":"https://api.github.com/users/hylang/following{/other_user}","gists_url":"https://api.github.com/users/hylang/gists{/gist_id}","starred_url":"https://api.github.com/users/hylang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hylang/subscriptions","organizations_url":"https://api.github.com/users/hylang/orgs","repos_url":"https://api.github.com/users/hylang/repos","events_url":"https://api.github.com/users/hylang/events{/privacy}","received_events_url":"https://api.github.com/users/hylang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hylang/hy","description":"A dialect of Lisp that's embedded in Python","fork":false,"url":"https://api.github.com/repos/hylang/hy","forks_url":"https://api.github.com/repos/hylang/hy/forks","keys_url":"https://api.github.com/repos/hylang/hy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hylang/hy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hylang/hy/teams","hooks_url":"https://api.github.com/repos/hylang/hy/hooks","issue_events_url":"https://api.github.com/repos/hylang/hy/issues/events{/number}","events_url":"https://api.github.com/repos/hylang/hy/events","assignees_url":"https://api.github.com/repos/hylang/hy/assignees{/user}","branches_url":"https://api.github.com/repos/hylang/hy/branches{/branch}","tags_url":"https://api.github.com/repos/hylang/hy/tags","blobs_url":"https://api.github.com/repos/hylang/hy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hylang/hy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hylang/hy/git/refs{/sha}","trees_url":"https://api.github.com/repos/hylang/hy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hylang/hy/statuses/{sha}","languages_url":"https://api.github.com/repos/hylang/hy/languages","stargazers_url":"https://api.github.com/repos/hylang/hy/stargazers","contributors_url":"https://api.github.com/repos/hylang/hy/contributors","subscribers_url":"https://api.github.com/repos/hylang/hy/subscribers","subscription_url":"https://api.github.com/repos/hylang/hy/subscription","commits_url":"https://api.github.com/repos/hylang/hy/commits{/sha}","git_commits_url":"https://api.github.com/repos/hylang/hy/git/commits{/sha}","comments_url":"https://api.github.com/repos/hylang/hy/comments{/number}","issue_comment_url":"https://api.github.com/repos/hylang/hy/issues/comments{/number}","contents_url":"https://api.github.com/repos/hylang/hy/contents/{+path}","compare_url":"https://api.github.com/repos/hylang/hy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hylang/hy/merges","archive_url":"https://api.github.com/repos/hylang/hy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hylang/hy/downloads","issues_url":"https://api.github.com/repos/hylang/hy/issues{/number}","pulls_url":"https://api.github.com/repos/hylang/hy/pulls{/number}","milestones_url":"https://api.github.com/repos/hylang/hy/milestones{/number}","notifications_url":"https://api.github.com/repos/hylang/hy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hylang/hy/labels{/name}","releases_url":"https://api.github.com/repos/hylang/hy/releases{/id}","deployments_url":"https://api.github.com/repos/hylang/hy/deployments","created_at":"2012-12-15T21:20:51Z","updated_at":"2016-10-26T14:41:43Z","pushed_at":"2016-10-27T21:10:22Z","git_url":"git://github.com/hylang/hy.git","ssh_url":"git@github.com:hylang/hy.git","clone_url":"https://github.com/hylang/hy.git","svn_url":"https://github.com/hylang/hy","homepage":"http://hylang.org/","size":4826,"stargazers_count":1553,"watchers_count":1553,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":200,"mirror_url":null,"open_issues_count":188,"forks":200,"open_issues":188,"watchers":1553,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hylang/hy/pulls/1142"},"html":{"href":"https://github.com/hylang/hy/pull/1142"},"issue":{"href":"https://api.github.com/repos/hylang/hy/issues/1142"},"comments":{"href":"https://api.github.com/repos/hylang/hy/issues/1142/comments"},"review_comments":{"href":"https://api.github.com/repos/hylang/hy/pulls/1142/comments"},"review_comment":{"href":"https://api.github.com/repos/hylang/hy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hylang/hy/pulls/1142/commits"},"statuses":{"href":"https://api.github.com/repos/hylang/hy/statuses/ce722163b06b790c969f89c53cd348ac12a27b89"}}}}
{"actor":{"display_login":"kirbyfan64"}}