{"action":"created","comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/pulls/comments/73861932","id":73861932,"diff_hunk":"@@ -394,6 +394,11 @@ defmodule IEx.Helpers do\n \n   @doc \"\"\"\n   Prints information about the given data type.\n+  \n+  ## Examples\n+\n+      i(Int)\n+      i(Atom)","path":"lib/iex/lib/iex/helpers.ex","position":17,"original_position":17,"commit_id":"8783a71cdcda3073ce294ea355c503f3b2e4d26f","original_commit_id":"8783a71cdcda3073ce294ea355c503f3b2e4d26f","user":{"login":"whatyouhide","id":3890250,"avatar_url":"https://avatars.githubusercontent.com/u/3890250?v=3","gravatar_id":"","url":"https://api.github.com/users/whatyouhide","html_url":"https://github.com/whatyouhide","followers_url":"https://api.github.com/users/whatyouhide/followers","following_url":"https://api.github.com/users/whatyouhide/following{/other_user}","gists_url":"https://api.github.com/users/whatyouhide/gists{/gist_id}","starred_url":"https://api.github.com/users/whatyouhide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatyouhide/subscriptions","organizations_url":"https://api.github.com/users/whatyouhide/orgs","repos_url":"https://api.github.com/users/whatyouhide/repos","events_url":"https://api.github.com/users/whatyouhide/events{/privacy}","received_events_url":"https://api.github.com/users/whatyouhide/received_events","type":"User","site_admin":false},"body":"With these examples it seems like `i/1` only works on modules though? Also, `h/1` and `b/1` indeed have examples, but I think that's more justified because they don't work on \"valid Elixir terms\" (e.g., `h(Enum.reduce/1)`), I'm not sure examples add to the value of the documentation for `i/1` though 😕 ","created_at":"2016-08-08T11:47:20Z","updated_at":"2016-08-08T11:47:20Z","html_url":"https://github.com/elixir-lang/elixir/pull/5111#discussion_r73861932","pull_request_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/5111","_links":{"self":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/comments/73861932"},"html":{"href":"https://github.com/elixir-lang/elixir/pull/5111#discussion_r73861932"},"pull_request":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/5111"}}},"pull_request":{"url":"https://api.github.com/repos/elixir-lang/elixir/pulls/5111","id":80432510,"html_url":"https://github.com/elixir-lang/elixir/pull/5111","diff_url":"https://github.com/elixir-lang/elixir/pull/5111.diff","patch_url":"https://github.com/elixir-lang/elixir/pull/5111.patch","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5111","number":5111,"state":"open","locked":false,"title":"have example for i helper","user":{"login":"BenBals","id":2546622,"avatar_url":"https://avatars.githubusercontent.com/u/2546622?v=3","gravatar_id":"","url":"https://api.github.com/users/BenBals","html_url":"https://github.com/BenBals","followers_url":"https://api.github.com/users/BenBals/followers","following_url":"https://api.github.com/users/BenBals/following{/other_user}","gists_url":"https://api.github.com/users/BenBals/gists{/gist_id}","starred_url":"https://api.github.com/users/BenBals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenBals/subscriptions","organizations_url":"https://api.github.com/users/BenBals/orgs","repos_url":"https://api.github.com/users/BenBals/repos","events_url":"https://api.github.com/users/BenBals/events{/privacy}","received_events_url":"https://api.github.com/users/BenBals/received_events","type":"User","site_admin":false},"body":"All other helper functions/macros like `h` or `b` have examples. So I feelt like there should be examples in the same style for `i` too.\r\n\r\n(And I also fixed a typo).","created_at":"2016-08-08T11:04:14Z","updated_at":"2016-08-08T11:47:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc5d1a32bfb5603865f415a67ddc09a35be0ea75","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/5111/commits","review_comments_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/5111/comments","review_comment_url":"https://api.github.com/repos/elixir-lang/elixir/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5111/comments","statuses_url":"https://api.github.com/repos/elixir-lang/elixir/statuses/8783a71cdcda3073ce294ea355c503f3b2e4d26f","head":{"label":"BenBals:patch-2","ref":"patch-2","sha":"8783a71cdcda3073ce294ea355c503f3b2e4d26f","user":{"login":"BenBals","id":2546622,"avatar_url":"https://avatars.githubusercontent.com/u/2546622?v=3","gravatar_id":"","url":"https://api.github.com/users/BenBals","html_url":"https://github.com/BenBals","followers_url":"https://api.github.com/users/BenBals/followers","following_url":"https://api.github.com/users/BenBals/following{/other_user}","gists_url":"https://api.github.com/users/BenBals/gists{/gist_id}","starred_url":"https://api.github.com/users/BenBals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenBals/subscriptions","organizations_url":"https://api.github.com/users/BenBals/orgs","repos_url":"https://api.github.com/users/BenBals/repos","events_url":"https://api.github.com/users/BenBals/events{/privacy}","received_events_url":"https://api.github.com/users/BenBals/received_events","type":"User","site_admin":false},"repo":{"id":64827970,"name":"elixir","full_name":"BenBals/elixir","owner":{"login":"BenBals","id":2546622,"avatar_url":"https://avatars.githubusercontent.com/u/2546622?v=3","gravatar_id":"","url":"https://api.github.com/users/BenBals","html_url":"https://github.com/BenBals","followers_url":"https://api.github.com/users/BenBals/followers","following_url":"https://api.github.com/users/BenBals/following{/other_user}","gists_url":"https://api.github.com/users/BenBals/gists{/gist_id}","starred_url":"https://api.github.com/users/BenBals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenBals/subscriptions","organizations_url":"https://api.github.com/users/BenBals/orgs","repos_url":"https://api.github.com/users/BenBals/repos","events_url":"https://api.github.com/users/BenBals/events{/privacy}","received_events_url":"https://api.github.com/users/BenBals/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BenBals/elixir","description":"Elixir is a dynamic, functional language designed for building scalable and maintainable applications","fork":true,"url":"https://api.github.com/repos/BenBals/elixir","forks_url":"https://api.github.com/repos/BenBals/elixir/forks","keys_url":"https://api.github.com/repos/BenBals/elixir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BenBals/elixir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BenBals/elixir/teams","hooks_url":"https://api.github.com/repos/BenBals/elixir/hooks","issue_events_url":"https://api.github.com/repos/BenBals/elixir/issues/events{/number}","events_url":"https://api.github.com/repos/BenBals/elixir/events","assignees_url":"https://api.github.com/repos/BenBals/elixir/assignees{/user}","branches_url":"https://api.github.com/repos/BenBals/elixir/branches{/branch}","tags_url":"https://api.github.com/repos/BenBals/elixir/tags","blobs_url":"https://api.github.com/repos/BenBals/elixir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BenBals/elixir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BenBals/elixir/git/refs{/sha}","trees_url":"https://api.github.com/repos/BenBals/elixir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BenBals/elixir/statuses/{sha}","languages_url":"https://api.github.com/repos/BenBals/elixir/languages","stargazers_url":"https://api.github.com/repos/BenBals/elixir/stargazers","contributors_url":"https://api.github.com/repos/BenBals/elixir/contributors","subscribers_url":"https://api.github.com/repos/BenBals/elixir/subscribers","subscription_url":"https://api.github.com/repos/BenBals/elixir/subscription","commits_url":"https://api.github.com/repos/BenBals/elixir/commits{/sha}","git_commits_url":"https://api.github.com/repos/BenBals/elixir/git/commits{/sha}","comments_url":"https://api.github.com/repos/BenBals/elixir/comments{/number}","issue_comment_url":"https://api.github.com/repos/BenBals/elixir/issues/comments{/number}","contents_url":"https://api.github.com/repos/BenBals/elixir/contents/{+path}","compare_url":"https://api.github.com/repos/BenBals/elixir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BenBals/elixir/merges","archive_url":"https://api.github.com/repos/BenBals/elixir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BenBals/elixir/downloads","issues_url":"https://api.github.com/repos/BenBals/elixir/issues{/number}","pulls_url":"https://api.github.com/repos/BenBals/elixir/pulls{/number}","milestones_url":"https://api.github.com/repos/BenBals/elixir/milestones{/number}","notifications_url":"https://api.github.com/repos/BenBals/elixir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BenBals/elixir/labels{/name}","releases_url":"https://api.github.com/repos/BenBals/elixir/releases{/id}","deployments_url":"https://api.github.com/repos/BenBals/elixir/deployments","created_at":"2016-08-03T08:10:30Z","updated_at":"2016-08-03T08:10:34Z","pushed_at":"2016-08-08T11:02:30Z","git_url":"git://github.com/BenBals/elixir.git","ssh_url":"git@github.com:BenBals/elixir.git","clone_url":"https://github.com/BenBals/elixir.git","svn_url":"https://github.com/BenBals/elixir","homepage":"http://elixir-lang.org/","size":28610,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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":"elixir-lang:master","ref":"master","sha":"c15ca054c57dd87a4aa81ca834365cb057f25fa0","user":{"login":"elixir-lang","id":1481354,"avatar_url":"https://avatars.githubusercontent.com/u/1481354?v=3","gravatar_id":"","url":"https://api.github.com/users/elixir-lang","html_url":"https://github.com/elixir-lang","followers_url":"https://api.github.com/users/elixir-lang/followers","following_url":"https://api.github.com/users/elixir-lang/following{/other_user}","gists_url":"https://api.github.com/users/elixir-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-lang/subscriptions","organizations_url":"https://api.github.com/users/elixir-lang/orgs","repos_url":"https://api.github.com/users/elixir-lang/repos","events_url":"https://api.github.com/users/elixir-lang/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":1234714,"name":"elixir","full_name":"elixir-lang/elixir","owner":{"login":"elixir-lang","id":1481354,"avatar_url":"https://avatars.githubusercontent.com/u/1481354?v=3","gravatar_id":"","url":"https://api.github.com/users/elixir-lang","html_url":"https://github.com/elixir-lang","followers_url":"https://api.github.com/users/elixir-lang/followers","following_url":"https://api.github.com/users/elixir-lang/following{/other_user}","gists_url":"https://api.github.com/users/elixir-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-lang/subscriptions","organizations_url":"https://api.github.com/users/elixir-lang/orgs","repos_url":"https://api.github.com/users/elixir-lang/repos","events_url":"https://api.github.com/users/elixir-lang/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elixir-lang/elixir","description":"Elixir is a dynamic, functional language designed for building scalable and maintainable applications","fork":false,"url":"https://api.github.com/repos/elixir-lang/elixir","forks_url":"https://api.github.com/repos/elixir-lang/elixir/forks","keys_url":"https://api.github.com/repos/elixir-lang/elixir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elixir-lang/elixir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elixir-lang/elixir/teams","hooks_url":"https://api.github.com/repos/elixir-lang/elixir/hooks","issue_events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/events{/number}","events_url":"https://api.github.com/repos/elixir-lang/elixir/events","assignees_url":"https://api.github.com/repos/elixir-lang/elixir/assignees{/user}","branches_url":"https://api.github.com/repos/elixir-lang/elixir/branches{/branch}","tags_url":"https://api.github.com/repos/elixir-lang/elixir/tags","blobs_url":"https://api.github.com/repos/elixir-lang/elixir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elixir-lang/elixir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elixir-lang/elixir/git/refs{/sha}","trees_url":"https://api.github.com/repos/elixir-lang/elixir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elixir-lang/elixir/statuses/{sha}","languages_url":"https://api.github.com/repos/elixir-lang/elixir/languages","stargazers_url":"https://api.github.com/repos/elixir-lang/elixir/stargazers","contributors_url":"https://api.github.com/repos/elixir-lang/elixir/contributors","subscribers_url":"https://api.github.com/repos/elixir-lang/elixir/subscribers","subscription_url":"https://api.github.com/repos/elixir-lang/elixir/subscription","commits_url":"https://api.github.com/repos/elixir-lang/elixir/commits{/sha}","git_commits_url":"https://api.github.com/repos/elixir-lang/elixir/git/commits{/sha}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/comments{/number}","issue_comment_url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments{/number}","contents_url":"https://api.github.com/repos/elixir-lang/elixir/contents/{+path}","compare_url":"https://api.github.com/repos/elixir-lang/elixir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elixir-lang/elixir/merges","archive_url":"https://api.github.com/repos/elixir-lang/elixir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elixir-lang/elixir/downloads","issues_url":"https://api.github.com/repos/elixir-lang/elixir/issues{/number}","pulls_url":"https://api.github.com/repos/elixir-lang/elixir/pulls{/number}","milestones_url":"https://api.github.com/repos/elixir-lang/elixir/milestones{/number}","notifications_url":"https://api.github.com/repos/elixir-lang/elixir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elixir-lang/elixir/labels{/name}","releases_url":"https://api.github.com/repos/elixir-lang/elixir/releases{/id}","deployments_url":"https://api.github.com/repos/elixir-lang/elixir/deployments","created_at":"2011-01-09T08:43:57Z","updated_at":"2016-08-08T09:42:25Z","pushed_at":"2016-08-08T11:04:14Z","git_url":"git://github.com/elixir-lang/elixir.git","ssh_url":"git@github.com:elixir-lang/elixir.git","clone_url":"https://github.com/elixir-lang/elixir.git","svn_url":"https://github.com/elixir-lang/elixir","homepage":"http://elixir-lang.org/","size":38547,"stargazers_count":7781,"watchers_count":7781,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1062,"mirror_url":null,"open_issues_count":22,"forks":1062,"open_issues":22,"watchers":7781,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/5111"},"html":{"href":"https://github.com/elixir-lang/elixir/pull/5111"},"issue":{"href":"https://api.github.com/repos/elixir-lang/elixir/issues/5111"},"comments":{"href":"https://api.github.com/repos/elixir-lang/elixir/issues/5111/comments"},"review_comments":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/5111/comments"},"review_comment":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elixir-lang/elixir/pulls/5111/commits"},"statuses":{"href":"https://api.github.com/repos/elixir-lang/elixir/statuses/8783a71cdcda3073ce294ea355c503f3b2e4d26f"}}}}
{"actor":{"display_login":"whatyouhide"}}