Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Can you solve it? The Greplin programming challenge. Parent comment
(not . null) instead of (\x -> length x > 1) is shorter, and works on infinite lists also.
Edit: well, in case you would test for x>0.
There are no comments on this comment yet.
(not . null) instead of (\x -> length x > 1) is shorter, and works on infinite lists also.
Edit: well, in case you would test for x>0.