module Crypto.PubKey.Internal
( and'
, (&&!)
) where
import Data.List (foldl')
and' :: [Bool] -> Bool
and' l = foldl' (&&!) True l
(&&!) :: Bool -> Bool -> Bool
True &&! True = True
True &&! False = False
False &&! True = False
False &&! False = False