
iqltd
Programming Erlang (2nd edition): wrong type mentioned - 'atoms' but should be 'lists' (page 164)
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
First Post!

Margaret
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
Best,
Margaret
Popular Pragmatic Bookshelf topics







Modern front-end development for Rails, second edition - Struggling to get the first chapter to work



Other popular topics










Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /emacs
- /haskell
- /onivim
- /svelte
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /vscode
- /ash
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /scala
- /zig
- /sublime-text
- /textmate
- /debian
- /nixos
- /lisp
- /agda
- /react-native
- /kubuntu
- /arch-linux
- /ubuntu
- /revery
- /django
- /manjaro
- /spring
- /diversity
- /lua
- /nodejs
- /julia
- /slackware
- /c
- /markdown