Skip to content

Instantly share code, notes, and snippets.

@wende
Created February 3, 2019 21:21
Show Gist options
  • Save wende/a83940108787e56a3dc27eb9789dcdeb to your computer and use it in GitHub Desktop.
Save wende/a83940108787e56a3dc27eb9789dcdeb to your computer and use it in GitHub Desktop.
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