List comprehension Mar 1, 2016 List comprehension [2, 4, 6] = for n <- [1, 2, 3], do: n + n Related Documentation: Comprehensions