We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dcc233 commit 9d82cd3Copy full SHA for 9d82cd3
2 files changed
src/Control/Applicative.purs
@@ -16,6 +16,3 @@ lift2 f x y = f <$> x <*> y
16
17
lift3 :: forall a b c d f. (Applicative f) => (a -> b -> c -> d) -> f a -> f b -> f c -> f d
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)
src/Control/Monad.purs
@@ -4,6 +4,9 @@ import Prelude
4
import Data.Array
5
import Data.Traversable
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
+
10
replicateM :: forall m a. (Monad m) => Number -> m a -> m [a]
11
replicateM 0 _ = return []
12
replicateM n m = do
0 commit comments