tweak to in_fives > in_fives l = unfoldr (splitAtMb 5) > (l ++ replicate (5 - length l `mod` 5) 'X') -- View this message in context: http://www.nabble.com/split-string-into-n-parts-tf2496941.html#a6961912 Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.