[Home] [By Thread] [By Date] [Recent Entries]
...> $seq[>>EXP] everything in $seq after the first item that satisfies EXP > $seq[>>=EXP] everything in $seq after and including -"- > $seq[<<EXP] everything in $seq before the first item that satisfies EXP > $seq[<<=EXP] everything in $seq before and including -"-
I think it is convenient to use recursion when result is formed through induction. In this case the role resursion is to fuse two logical steps, which is a bit of a hack. P.S. on the other hand one can reformulate these tasks as inductive. -- Vladimir Nesterovsky http://www.nesterovsky-bros.com
|

Cart



