git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Add asTypeOf to prelude
beb9bd8Gary Burgess
prelude/prelude.purs+3
@@ -8,6 +8,9 @@ module Prelude where
8
8
9 on :: forall a b c. (b -> b -> c) -> (a -> b) -> a -> a -> c
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
10 on f g x y = g x `f` g y
11+
12+ asTypeOf :: forall a. a -> a -> a
13+ asTypeOf x _ = x
11
14
12 infixr 9 >>>
15 infixr 9 >>>
13 infixr 9 <<<
16 infixr 9 <<<