
4 Jun
2009
4 Jun
'09
2:21 p.m.
You can also try this: bunch n f = takeWhile (not . null) . unfoldr (Just . (f *** id) . splitAt n)
(bunch 8 . bunch 4 . bunch 2) id [1..16]
Any way, it's not possible to take list [8, 4, 2], because it's length need to be known at compile time.
5834
Age (days ago)
5834
Last active (days ago)
0 comments
1 participants
participants (1)
-
VoidEx