Забыл исправить опечатку
This commit is contained in:
@@ -4,7 +4,7 @@ module Lib
|
|||||||
) where
|
) where
|
||||||
|
|
||||||
isCongruent :: Int -> Int -> Int -> Bool
|
isCongruent :: Int -> Int -> Int -> Bool
|
||||||
isCongruent a b d = a `mod` d + 1 == b `mod` d
|
isCongruent a b d = a `mod` d == b `mod` d
|
||||||
|
|
||||||
|
|
||||||
filterByPredicate :: (a -> Bool) -> [a] -> [a]
|
filterByPredicate :: (a -> Bool) -> [a] -> [a]
|
||||||
|
|||||||
Reference in New Issue
Block a user