Результаты работы

This commit is contained in:
2024-11-29 20:45:03 +03:00
parent 25a5646093
commit de4bfa4f84
4 changed files with 20 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ module Lib
) where
isCongruent :: Int -> Int -> Int -> Bool
isCongruent a b d = a `mod` d == b `mod` d
isCongruent a b d = a `mod` d + 1 == b `mod` d
filterByPredicate :: (a -> Bool) -> [a] -> [a]