{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/3679","labels_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3679/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3679/comments","events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3679/events","html_url":"https://github.com/elixir-lang/elixir/issues/3679","id":105183038,"number":3679,"title":"Consider adding keyword/0 and keyword/1 built-in types","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},"labels":[{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/App:Elixir","name":"App:Elixir","color":"CCCCCC"},{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/Kind:Enhancement","name":"Kind:Enhancement","color":"009800"},{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/Level:Intermediate","name":"Level:Intermediate","color":"fad8c7"},{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/Note:Discussion","name":"Note:Discussion","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-07T09:39:15Z","updated_at":"2015-09-07T10:41:00Z","closed_at":null,"body":"Since keyword and map are used a lot side by side, it feels inconsistent to write \"Keyword.t | map\". It is probably preferrable to treat both as built-in types.\r\n\r\n/cc @fishcakez @ericmj. Thoughts?"},"comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments/138267443","html_url":"https://github.com/elixir-lang/elixir/issues/3679#issuecomment-138267443","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3679","id":138267443,"user":{"login":"fishcakez","id":2001229,"avatar_url":"https://avatars.githubusercontent.com/u/2001229?v=3","gravatar_id":"","url":"https://api.github.com/users/fishcakez","html_url":"https://github.com/fishcakez","followers_url":"https://api.github.com/users/fishcakez/followers","following_url":"https://api.github.com/users/fishcakez/following{/other_user}","gists_url":"https://api.github.com/users/fishcakez/gists{/gist_id}","starred_url":"https://api.github.com/users/fishcakez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fishcakez/subscriptions","organizations_url":"https://api.github.com/users/fishcakez/orgs","repos_url":"https://api.github.com/users/fishcakez/repos","events_url":"https://api.github.com/users/fishcakez/events{/privacy}","received_events_url":"https://api.github.com/users/fishcakez/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T10:41:00Z","updated_at":"2015-09-07T10:41:00Z","body":"OTP deprecated several native types in 18, and uses `module.type` now. It would be interesting if the reasoning is available anyway.\r\n\r\nDo you mean `keyword/2`, i.e. `keyword(key, value), not `keyword/1`?"}}