Created
February 3, 2019 21:21
-
-
Save wende/a83940108787e56a3dc27eb9789dcdeb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
module Main exposing (..) | |
run : String | |
run = | |
let | |
add3 = List.foldl (>>) (\x -> x) [add1, add1, add1] | |
in | |
add3 10 | |
|> toString | |
add1 = (+) 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment