# Programming Erlang (2nd edition): wrong type mentioned - 'atoms' but should be 'lists' (page 164)

**URL:** <https://forum.devtalk.com/t/programming-erlang-2nd-edition-wrong-type-mentioned-atoms-but-should-be-lists-page-164/37572>\
**Category:** PragProg Customers\
**Tags:** book-programming-erlang-2nd-edition, errata\
**Created:** [23 January 2022 16:23 UTC](https://forum.devtalk.com/t/programming-erlang-2nd-edition-wrong-type-mentioned-atoms-but-should-be-lists-page-164/37572 "2022-01-23T16:23:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iqltd](https://forum.devtalk.com/user_avatar/forum.devtalk.com/iqltd/32/3783_2.png) [@iqltd](https://forum.devtalk.com/u/iqltd)\
**Post date:** [23 January 2022 16:23 UTC](https://forum.devtalk.com/t/programming-erlang-2nd-edition-wrong-type-mentioned-atoms-but-should-be-lists-page-164/37572/1 "2022-01-23T16:23:17Z")

</div>

Is this a typo, or did I misunderstand the sentence?

The excerpt from the book:  
“The file must contain a function main(Args). When called from an operating system shell, Args will contain a list of the command-line arguments represented as atoms.”

I think it should read:  
“The file must contain a function main(Args). When called from an operating system shell, Args will contain a list of the command-line arguments represented as lists.”

Please let me know if I misunderstood.  
Thank you

---

<div class="post-metadata">

**Author:** ![Margaret](https://forum.devtalk.com/user_avatar/forum.devtalk.com/margaret/32/237_2.png) [@Margaret](https://forum.devtalk.com/u/Margaret)\
**Post date:** [23 January 2022 17:23 UTC](https://forum.devtalk.com/t/programming-erlang-2nd-edition-wrong-type-mentioned-atoms-but-should-be-lists-page-164/37572/2 "2022-01-23T17:23:04Z")

</div>

Hi Valentin,

This book was published in 2013, and the author is not on DevTalk, so it’s unlikely you’ll get an answer from the author. One of the other readers may be able to weigh in. Try this book club page: [Programming Erlang Book Club - #37 by Rainer](https://forum.devtalk.com/t/programming-erlang-book-club/3243/37)

Best,  
Margaret

---

<div class="post-metadata">

**Author:** ![iqltd](https://forum.devtalk.com/user_avatar/forum.devtalk.com/iqltd/32/3783_2.png) [@iqltd](https://forum.devtalk.com/u/iqltd)\
**Post date:** [24 January 2022 08:44 UTC](https://forum.devtalk.com/t/programming-erlang-2nd-edition-wrong-type-mentioned-atoms-but-should-be-lists-page-164/37572/3 "2022-01-24T08:44:38Z")

</div>

Thank you for your response.  
It is true that the author cannot answer. Unfortunately Mr Armstrong passed away a couple of years ago 😢

I reported the errata more out of curiosity for the process. It is my first time. It is definitely not an important issue.

Thank you, once again!

---

<div class="post-metadata">

**Author:** ![Erica](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/e/9dc877/32.png) [@Erica](https://forum.devtalk.com/u/Erica)\
**Post date:** [24 January 2022 20:52 UTC](https://forum.devtalk.com/t/programming-erlang-2nd-edition-wrong-type-mentioned-atoms-but-should-be-lists-page-164/37572/4 "2022-01-24T20:52:26Z")

</div>

Should this title ever be revised in the future, this provides a valuable reference for outstanding errata. Thank you
