Last active
October 4, 2016 21:16
-
-
Save djleonskennedy/d1f8e0d1701faaf72ddea2651cb6c194 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Html exposing (text) | |
transform : List Int -> List Int | |
transform = | |
List.map ((*) 2) | |
<< List.filter (flip (%) 2 >> (==) 0) | |
main = | |
[1,2,3,4,5,6,7,6,2] | |
|> text | |
<< toString | |
<< List.sum | |
<< transform |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment