git.iko.soy/rowtype-yoga/purescript-native
on 2a4e404 help sign in
rowtype-yoga/purescript-native/examples/passing/ExplicitOperatorSections.purs
14 lines 208 B history raw
1module Main where
3import Prelude
5subtractOne :: Int -> Int
6subtractOne = (_ - 1)
8addOne :: Int -> Int
9addOne = (1 + _)
11named :: Int -> Int
12named = (_ `sub` 1)
14main = Control.Monad.Eff.Console.log "Done"