PElib_haskell 用于解决Euler项目问题​​的Haskell库 文献资料 Tools.Factor hasFactor :: Integral a => a -> a -> Bool hasfactor n m -> Checks whether `m` is a factor of `n`. hasFactors :: Integral a => a -> [a] -> Boo hasFactors n xs -> Checks whether all elements of `xs` are factors of `n`. ulamCorners :: (Num a, Enum a) => a -> [a] ulamCorners