Skip to content

Instantly share code, notes, and snippets.

@victorvoid
Created August 8, 2018 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save victorvoid/d4be60ca64b26a2e985cda4fb5ed54a5 to your computer and use it in GitHub Desktop.
Save victorvoid/d4be60ca64b26a2e985cda4fb5ed54a5 to your computer and use it in GitHub Desktop.
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