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:
@@ -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
|
||||
|
Reference in New Issue
Block a user