Last Updated: December 26, 2018
·
1.322K
· astro

Replace map/2 & filter/2 with list comprehensions

A pair of brackets and pipes is often much more readable than anonymous functions inside lists:map/2 inside a fun() inside lists:filter/2.