git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #293 from joneshf/master

Added on.

commitc615fb21e0994705ee69b020a876f6033cb669e7 authorPhil Freeman <paf31@cantab.net> dateFri 14 Mar 2014, 21:47 (13 years ago) parent88cdb9a1b22e3f
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