Control.Monad exports zipWithM, defined as:
zipWithM :: Applicative m => (a -> b -> m c) -> [a] -> [a] -> m [a]
zipWithM f as bs = sequenceA $ zipWith f as bs
No reason semialign couldn't generalize this to work with Zip, too. I'd be happy to submit a PR if that would be welcome.
Thanks all for a lovely suite of packages 💟
Control.MonadexportszipWithM, defined as:No reason
semialigncouldn't generalize this to work withZip, too. I'd be happy to submit a PR if that would be welcome.Thanks all for a lovely suite of packages 💟