hjugement-protocol-0.0.0.20190511: A cryptographic protocol for the Majority Judgment.

Safe HaskellNone
LanguageHaskell2010

Voting.Protocol.Utils

Synopsis

Documentation

isoZipWith :: (a -> b -> c) -> [a] -> [b] -> Maybe [c] Source #

NOTE: check the lengths before applying f.

isoZipWith3 :: (a -> b -> c -> d) -> [a] -> [b] -> [c] -> Maybe [d] Source #

NOTE: check the lengths before applying f.

isoZipWithM :: Applicative m => m () -> (a -> b -> m c) -> [a] -> [b] -> m [c] Source #

isoZipWithM_ :: Applicative m => m () -> (a -> b -> m c) -> [a] -> [b] -> m () Source #

isoZipWith3M :: Applicative m => m () -> (a -> b -> c -> m d) -> [a] -> [b] -> [c] -> m [d] Source #

isoZipWith3M_ :: Applicative m => m () -> (a -> b -> c -> m d) -> [a] -> [b] -> [c] -> m () Source #