Synopsis

# Documentation

gcds :: Integral a => [a] -> a Source #

Return the GCD of a list of integrals

>>> gcds [2,4,8]
2


lcms :: Integral a => [a] -> a Source #

Return the LCM of a list of integrals

>>> lcms [2,3,5]
30