git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Added on.
1b22e3fjoneshf
prelude/prelude.purs+3
@@ -6,6 +6,9 @@ module Prelude where
6 const :: forall a b. a -> b -> a
6 const :: forall a b. a -> b -> a
7 const a _ = a
7 const a _ = a
8
8
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+
9 infixr 9 >>>
12 infixr 9 >>>
10 infixr 9 <<<
13 infixr 9 <<<
11
14