News for hackers. Stuff that matters.
Re:If Java Is Dying, It Sure Looks Awfully Healthy by fedvasu on Thursday October 10, 2013 @09:39AM (#6527562)
>> fold () x it should be fold () 1 x or foldr1 () x or foldl1 () x of course according to Guy Steele, fodl and foldr are considered harmful :)
Re:If Java Is Dying, It Sure Looks Awfully Healthy by kd0amg on Thursday October 10, 2013 @10:54AM (#6528041)
It's really cons lists that are harmful -- foldl and foldr are just ways to operate on them. GP's example would work fine with conc trees and a divide-and-conquer reduce instead.
Re:If Java Is Dying, It Sure Looks Awfully Healthy by bodhi on Thursday October 10, 2013 @07:36PM (#6530671)
I don't really understand, can you explain more? I should have written in my comment that I'm a Haskell beginner...