cabal-gild-1.3.1.0: Formats package descriptions.
Safe HaskellSafe-Inferred
LanguageHaskell2010

CabalGild.Unstable.Extra.List

Synopsis

Documentation

compareLength :: [a] -> Int -> Ordering Source #

Compares the length of the given list to the given integer. This is equivalent to compare (length xs) n, but it can be more efficient if n is less than length xs.