File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,3 @@ lift2 f x y = f <$> x <*> y
16
16
17
17
lift3 :: forall a b c d 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
19
-
20
- zipWithA :: forall m a b c . (Applicative m ) => (a -> b -> m c ) -> [a ] -> [b ] -> m [c ]
21
- zipWithA f xs ys = sequence (zipWith f xs ys)
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ import Prelude
4
4
import Data.Array
5
5
import Data.Traversable
6
6
7
+ zipWithA :: forall m a b c . (Applicative m ) => (a -> b -> m c ) -> [a ] -> [b ] -> m [c ]
8
+ zipWithA f xs ys = sequence (zipWith f xs ys)
9
+
7
10
replicateM :: forall m a . (Monad m ) => Number -> m a -> m [a ]
8
11
replicateM 0 _ = return []
9
12
replicateM n m = do
You can’t perform that action at this time.
0 commit comments