{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/5588","repository_url":"https://api.github.com/repos/elixir-lang/elixir","labels_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5588/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5588/comments","events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5588/events","html_url":"https://github.com/elixir-lang/elixir/issues/5588","id":197571656,"number":5588,"title":"Incorrect result when inserting numbers into a list","user":{"login":"skippednote","id":2114712,"avatar_url":"https://avatars.githubusercontent.com/u/2114712?v=3","gravatar_id":"","url":"https://api.github.com/users/skippednote","html_url":"https://github.com/skippednote","followers_url":"https://api.github.com/users/skippednote/followers","following_url":"https://api.github.com/users/skippednote/following{/other_user}","gists_url":"https://api.github.com/users/skippednote/gists{/gist_id}","starred_url":"https://api.github.com/users/skippednote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skippednote/subscriptions","organizations_url":"https://api.github.com/users/skippednote/orgs","repos_url":"https://api.github.com/users/skippednote/repos","events_url":"https://api.github.com/users/skippednote/events{/privacy}","received_events_url":"https://api.github.com/users/skippednote/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-26T10:21:49Z","updated_at":"2016-12-26T10:34:17Z","closed_at":"2016-12-26T10:34:17Z","body":"I'm running the following versions of Erlang and Elixir:\r\n```\r\nErlang/OTP 19 [erts-8.2] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]\r\nInteractive Elixir (1.3.4) - press Ctrl+C to exit (type h() ENTER for help)\r\n```\r\n\r\nWhenever I try to add `123` to an empty list I get `{` instead of `[123]`\r\n\r\n```\r\niex > [123]\r\n`{`\r\n\r\niex > `[123 | []]` \r\n`{`\r\n```\r\n\r\nI've tired of looking around for this being reported before but I'm failed. Apologies for double posting if its reported already."},"comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments/269198000","html_url":"https://github.com/elixir-lang/elixir/issues/5588#issuecomment-269198000","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5588","id":269198000,"user":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T10:34:17Z","updated_at":"2016-12-26T10:34:17Z","body":"@skippednote when in doubt, the `i` helper in IEx is your friend:\r\n\r\n```iex\r\nInteractive Elixir (1.5.0-dev) - press Ctrl+C to exit (type h() ENTER for help)\r\niex(1)> i [123]\r\nTerm\r\n  '{'\r\nData type\r\n  List\r\nDescription\r\n  This is a list of integers that is printed as a sequence of characters\r\n  delimited by single quotes because all the integers in it represent valid\r\n  ASCII characters. Conventionally, such lists of integers are referred to as\r\n  \"charlists\" (more precisely, a charlist is a list of Unicode codepoints,\r\n  and ASCII is a subset of Unicode).\r\nRaw representation\r\n  [123]\r\nReference modules\r\n  List\r\nImplemented protocols\r\n  IEx.Info, Collectable, Enumerable, Inspect, List.Chars, String.Chars\r\niex(2)>\r\n```\r\n"}}
{"actor":{"display_login":"josevalim"}}