> On Tue, Aug 14, 2012 at 4:17 PM, John Holland <[email protected]> wrote:
>> I thought of doing something like that, but part of the requirements is that
>> the sum could be achieved with *some" of the numbers in the vector.

the other way of looking at it is that the recursion just quits once
the sum it is carrying along is the desired sum. instead of always
reaching the base case of a unit-length-vector.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to