git.iko.soy/rowtype-yoga/purescript-native
on cd4c708 help sign in
rowtype-yoga/purescript-native/examples/passing/ExplicitOperatorSections.purs
15 lines 221 B history raw
1module Main where
3import Prelude
4import Control.Monad.Eff.Console (log)
6subtractOne :: Int -> Int
7subtractOne = (_ - 1)
9addOne :: Int -> Int
10addOne = (1 + _)
12named :: Int -> Int
13named = (_ `sub` 1)
15main = log "Done"