Gilberto Garcia schrieb: > isMultiple :: Int -> [Int] -> Bool > isMultiple a [] = False > isMultiple a (x:xs) = if (mod a x == 0) then True else isMultiple a xs
I think this one can be written in terms of 'List.any'. _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
