git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Added on.
commit1b22e3fdc3e6a15b3d0cbc5ff1f2f713bac4943d authorjoneshf <jones3.hardy@gmail.com> dateFri 14 Mar 2014, 19:24 (13 years ago) parent88cdb9a
1 file changed+3
prelude/prelude.purs+3
prelude/prelude.purs+3
@@ -6,6 +6,9 @@ module Prelude where
66 const :: forall a b. a -> b -> a
77 const a _ = a
88
9+ on :: forall a b c. (b -> b -> c) -> (a -> b) -> a -> a -> c
10+ on f g x y = g x `f` g y
11+
912 infixr 9 >>>
1013 infixr 9 <<<
1114