News for hackers. Stuff that matters.
Re:Map/Reduce for Mortals by marai2 on Tuesday January 14, 2020 @05:30PM (#22049904)
haskell: sum [n^2 | n <- [1,3..5]]

I just remembered haskell's "range" operator ".." can also take a step size.

['a', 'd' .. 'z'] => "adgjmpsvy"

There are no comments on this comment yet.