Hacker News new | ask | show | jobs
by beagle3 5439 days ago
You want to have a look at the APL / J / K family, where functions like |/0(0|+)\ that compute the maximum-consecutive-sum (honest!) are the norm.