1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 12:30:48 +02:00

Update haskell.html.markdown #5000

This commit is contained in:
ven
2024-07-18 11:45:11 +02:00
committed by GitHub
parent cc9f50c3d8
commit 08b303dab7

View File

@@ -444,7 +444,7 @@ canProceedThrough t = t /= Red
-- rather than types, assuming that the function only relies on
-- features of the typeclass
isEqual (Eq a) => a -> a -> Bool
isEqual :: (Eq a) => a -> a -> Bool
isEqual x y = x == y
-- Note that x and y MUST be the same type, as they are both defined