File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ import Prelude
5
5
infixl 4 <*
6
6
infixl 4 *>
7
7
8
- (<*) :: forall a b f . (Applicative f ) => f a -> f b -> f a
8
+ (<*) :: forall a b f . (Functor f , Applicative f ) => f a -> f b -> f a
9
9
(<*) x y = const <$> x <*> y
10
10
11
- (*>) :: forall a b f . (Applicative f ) => f a -> f b -> f b
11
+ (*>) :: forall a b f . (Functor f , Applicative f ) => f a -> f b -> f b
12
12
(*>) x y = const id <$> x <*> y
13
13
14
- lift2 :: forall a b c f . (Applicative f ) => (a -> b -> c ) -> f a -> f b -> f c
14
+ lift2 :: forall a b c f . (Functor f , Applicative f ) => (a -> b -> c ) -> f a -> f b -> f c
15
15
lift2 f x y = f <$> x <*> y
16
16
17
- lift3 :: forall a b c d f . (Applicative f ) => (a -> b -> c -> d ) -> f a -> f b -> f c -> f d
17
+ lift3 :: forall a b c d f . (Functor f , Applicative f ) => (a -> b -> c -> d ) -> f a -> f b -> f c -> f d
18
18
lift3 f x y z = f <$> x <*> y <*> z
You can’t perform that action at this time.
0 commit comments