(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.
(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.