Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- doubleEveryOther:: [Integer] -> [Integer]
- doubleEveryOther = reverse . zipWith (*) oneTwo . reverse where
- oneTwo = 1 : 2 : oneTwo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement