You are viewing a single comment's thread. Return to all comments →
I ended up with the following haskell solution:
f (x:xs) = (head xs) : f (tail xs)
Obviously, I am a beginner at haskell. Any comments?
Seems like cookies are disabled on this browser, please enable them to open this website
Filter Positions in a List
You are viewing a single comment's thread. Return to all comments →
I ended up with the following haskell solution:
Obviously, I am a beginner at haskell. Any comments?