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
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
101 - 102 of 102 matches
Mail list logo