Posted By

rtperson on 08/18/11


problems 99

Versions (?)

Haskell 99 Problems - Numbers 15 and 16

 / Published in: Haskell


problem 15, Replicate the elements of a list a given number of times.

repli "abc" 3 "aaabbbccc"

problem 16, Drop every N'th element from a list. 
*Main> dropEvery "abcdefghik" 3

Report this snippet  

You need to login to post a comment.