[Jprogramming] Infixes

David Vaughan purpleblues13 at googlemail.com
Mon Sep 26 02:44:09 HKT 2011


I'm trying to apply a verb to infixes of length 4 but I want it to be cumulative. i.e. in the list:

3 5 7 9 13 17 21 25 31 37 43 49

I want:

verb 3 5 7 9
verb 3 5 7 9 13 17 21 25
verb 3 5 7 9 13 17 21 25 31 37 43 49

Any help? Thanks.


More information about the Programming mailing list