I wrote: > usual metrics apply: novelty, brevity, > velocity, and parsimony.
I'm most interested in an elegant way to rephrase sum-of-the-digits:
+/@:,@:(#.^:_1)
Can you come up with a better way? Example:
10 +/@:,@:(#.^:_1) 10 3 112 16 7
22
-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
