elixir-lang / elixir-lang.github.com

Website for Elixir
elixir-lang.org
354 stars 822 forks source link

Update keywords-and-maps.markdown #1668

Closed daniel-cavalcante closed 1 year ago

daniel-cavalcante commented 1 year ago

The phrase "In particular, keyword lists are 2-item tuples where the first element ..." states that a keyword list is a 2-item tuple. As someone who is just reading about such concepts for the first time, I have found it to be a source of confusion, because in reality a keyword list is a list where each element is a 2-item tuple (this is accurate).

josevalim commented 1 year ago

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart: