euler-0.1.0.0

Safe HaskellSafe
LanguageHaskell2010

Euler.Util.Foldable

Synopsis

Documentation

allEqual :: (Foldable f, Eq a) => f a -> Bool Source #

Whether all of the items in a list are equal.

  • - >>> allEqual $ [[], [1], [1,1], [1,2]]
  • - [True,True,True,False]