git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Add zipWithM
commit695ab612809bfa93af03d8e1afa1e516da715dea authorGary Burgess <garyb@users.noreply.github.com> dateTue 25 Feb 2014, 22:17 (13 years ago) parentc03bffa
1 file changed+3
prelude/prelude.purs+3
prelude/prelude.purs+3
@@ -425,6 +425,9 @@ module Control.Monad where
425425 when true m = m
426426 when false _ = return {}
427427
428+ zipWithM :: forall m a b c. (Monad m) => (a -> b -> m c) -> [a] -> [b] -> m [c]
429+ zipWithM f xs ys = sequence $ zipWith f xs ys
430+
428431module Data.Maybe where
429432
430433 import Prelude