{"action":"created","issue":{"url":"https://api.github.com/repos/doomspork/elixir-school/issues/392","repository_url":"https://api.github.com/repos/doomspork/elixir-school","labels_url":"https://api.github.com/repos/doomspork/elixir-school/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/doomspork/elixir-school/issues/392/comments","events_url":"https://api.github.com/repos/doomspork/elixir-school/issues/392/events","html_url":"https://github.com/doomspork/elixir-school/issues/392","id":156180278,"number":392,"title":"Mistake in Advanced/Executables lesson in an example","user":{"login":"setzer777","id":13922607,"avatar_url":"https://avatars.githubusercontent.com/u/13922607?v=3","gravatar_id":"","url":"https://api.github.com/users/setzer777","html_url":"https://github.com/setzer777","followers_url":"https://api.github.com/users/setzer777/followers","following_url":"https://api.github.com/users/setzer777/following{/other_user}","gists_url":"https://api.github.com/users/setzer777/gists{/gist_id}","starred_url":"https://api.github.com/users/setzer777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/setzer777/subscriptions","organizations_url":"https://api.github.com/users/setzer777/orgs","repos_url":"https://api.github.com/users/setzer777/repos","events_url":"https://api.github.com/users/setzer777/events{/privacy}","received_events_url":"https://api.github.com/users/setzer777/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/doomspork/elixir-school/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-22T23:47:18Z","updated_at":"2016-05-22T23:59:41Z","closed_at":null,"body":"![image](https://cloud.githubusercontent.com/assets/13922607/15457365/81fe23b6-204d-11e6-87a8-a6873eb5ebf2.png)\r\n\r\nThe upcase from hello is not WORLD, but in fact, HELLO."},"comment":{"url":"https://api.github.com/repos/doomspork/elixir-school/issues/comments/220864633","html_url":"https://github.com/doomspork/elixir-school/issues/392#issuecomment-220864633","issue_url":"https://api.github.com/repos/doomspork/elixir-school/issues/392","id":220864633,"user":{"login":"aleandros","id":828922,"avatar_url":"https://avatars.githubusercontent.com/u/828922?v=3","gravatar_id":"","url":"https://api.github.com/users/aleandros","html_url":"https://github.com/aleandros","followers_url":"https://api.github.com/users/aleandros/followers","following_url":"https://api.github.com/users/aleandros/following{/other_user}","gists_url":"https://api.github.com/users/aleandros/gists{/gist_id}","starred_url":"https://api.github.com/users/aleandros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleandros/subscriptions","organizations_url":"https://api.github.com/users/aleandros/orgs","repos_url":"https://api.github.com/users/aleandros/repos","events_url":"https://api.github.com/users/aleandros/events{/privacy}","received_events_url":"https://api.github.com/users/aleandros/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T23:59:41Z","updated_at":"2016-05-22T23:59:41Z","body":"@setzer777 @doomspork I think this is not a mistake. I copy my response from the PR discussion:\r\n\r\n\r\n```elixir\r\n  defp response({opts, \"Hello\"}), do: response({opts, \"World\"})\r\n  defp response({opts, word}) do\r\n    if opts[:upcase], do: word = String.upcase(word)\r\n    word\r\n  end\r\n```\r\n\r\nSo `response({[upcase: true], \"Hello\" })` would expand to `response({[upcase: true], \"World\"})` which would then be \"WORLD\""}}
{"actor":{"display_login":"aleandros"}}