jim burton <[EMAIL PROTECTED]> writes: > tweak to in_fives > > > in_fives l = unfoldr (splitAtMb 5) > > (l ++ replicate (5 - length l `mod` 5) 'X')
Whoops! Yes. And a slapped wrist for me for writing a constant three times. Serves me right for not writing groups_of n l = unfolder (splitAtMb n) ... in_fives = groups_of 5 :-) -- Jón Fairbairn [EMAIL PROTECTED] _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe