in reply to Re: Re: Self-improvement and TMTOWTDI
in thread Self-improvement and TMTOWTDI
Somebody _had_ to call you on this. :-)
I knew somebody was going to slap me!
How about Common LISP (gotta (love (those (brackets))).
At the very least we have: count, count-if, count-if-not, every, fill, find-if, find-if-not, map, map-into, merge, mismatch, notany, notevery, nsubstitute, nsubstitute-if, nsubstitute-if-not, position, position-if, position-if-not, reduce, remove, remove-duplicates, remove-if, remove-if-not, replace, search, some, substitute, substitute-if and substitute-if-not.
That's 30 - and I've probably missed some - different way of iterating over a sequence of elements.
(in case anybody hasn't realised - I am not being entirely serious here :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Self-improvement and TMTOWTDI
by demerphq (Chancellor) on Jan 25, 2003 at 00:47 UTC | |
by adrianh (Chancellor) on Jan 25, 2003 at 00:59 UTC |