Re: update a ref struct

2008-11-24 Thread Stuart Halloway
Another possible approach. Key idea here is to use partition to create a sliding window over the lines, plus a sentinel value (I picked ) before the first line. Pretty sure I like partition over reduce for this particular example. (ns examples.convert (:use

Re: update a ref struct

2008-11-24 Thread Brian Doyle
Yep, that's just a typo in the email. Something was wrong with my browser and I couldn't just paste the code in :( On Mon, Nov 24, 2008 at 3:33 PM, Shawn Hoover [EMAIL PROTECTED]wrote: On Mon, Nov 24, 2008 at 5:17 PM, Brian Doyle [EMAIL PROTECTED]wrote: I am parsing a file and to compare the

<    1   2