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

Safe HaskellNone
LanguageHaskell2010

Voting.Protocol.Utils

Synopsis

Documentation

o2 :: (c -> d) -> (a -> b -> c) -> a -> b -> d infixr 9 Source #

Like (.) but with two arguments.

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 f => f () -> (a -> b -> f c) -> [a] -> [b] -> f [c] Source #

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

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

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