in reply to Re^2: merging dna sequences
in thread merging dna sequences
Is f'(f'(A,B),C)) the same as F(A,B,C)? If so, then just run a loop on your array of strings, replacing the first two with the results if f'(A,B). By the time you are down to a single string left, you will have the same results as F(A,B,C,....).
List::Util's reduce function can be helpful in implementing this.
--MidLifeXis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: merging dna sequences
by Eliya (Vicar) on Nov 10, 2011 at 14:14 UTC | |
by garyboyd (Acolyte) on Nov 10, 2011 at 16:07 UTC |