-
-
Save victorvoid/d4be60ca64b26a2e985cda4fb5ed54a5 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
module Main where | |
import Prelude | |
import Control.Monad.Eff.Console (logShow) | |
app :: Int -> Int | |
app = | |
(\n -> n * 2) >>> | |
(\n -> n + 1) | |
main = do | |
logShow $ app $ 10 | |
-- 21 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment