Hacker News new | ask | show | jobs
by SEMW 3253 days ago
An empty list in Elixir is [], and is truthy.

Parens aren't used for any collection type in Elixir ( `(1,2,3)` is just a syntax error), so the lispyness explanation for () being nil in Elixir, while neat, doesn't really make sense