Language.Copilot.Libs.Vote
Description
Voting algorithms over streams of data.
Documentation
majority :: (Streamable a, EqE a) => [Spec a] -> Spec a
Boyer-Moore linear majority algorithm. Warning! Returns an arbitary
element if no majority is returned. See aMajority below.