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.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to