kxrx-w
Last Updated: February 25, 2016
·
1.153K
· 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.