An example of a more advanced one would be
>> [2*x | x <- [0,1..25], x^2 `rem` 3 == 0] [0,6,12,18,24,30,36,42,48]
[1] http://en.wikipedia.org/wiki/List_comprehension#Examples_in_...
[2] http://en.wikipedia.org/wiki/Set-builder_notation#Parallels_...
An example of a more advanced one would be
Also, there is HLint for Haskell linting purposes...[1] http://en.wikipedia.org/wiki/List_comprehension#Examples_in_...
[2] http://en.wikipedia.org/wiki/Set-builder_notation#Parallels_...