"Randal" == Randal L Schwartz merlyn@stonehenge.com writes:
Randal> Huh? Why the heck is that called #detectSum: instead of just #sum:?
[...]
Randal> /me makes a note to look under #detectFoo: next time
In fact, now that I look at it, it's really not like #detectMax:, which returns the *original* element that is the max, or #detect:, which returns an *original* element that meets a test. It's transformational, more like #collect. But since #sum already does that, it really should have simply been named #sum:.
Sigh.