Haskell 99 Problems - Number 20, Arrowed!


/ Published in: Haskell
Save to your folder(s)

problem 20, (*) Remove the K'th element from a list

*Main> removeAt 1 "abcd"
"acd"

Trivial using a pure function. A bit more challenging if you use this problem to work up your Arrow-fu.

URL: http://haskell.org/haskellwiki/99_questions/11_to_20

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.