DEV Community

Discussion on: Daily Challenge #157 - Is N Divisible by X and Y?

Collapse
 
dynamicboy24 profile image
DynamicBoy24

No bro it's not working
Failed to detect module name:
isDivisibleBy :: Int -> Int -> Int -> Bool
isDivisibleBy x y n = all ((==) 0 . mod n) [x, y]

Collapse
 
aminnairi profile image
Amin

Hi and thanks for your comment.

Have you tried the test link?