mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Update haskell.html.markdown #5000
This commit is contained in:
parent
cc9f50c3d8
commit
08b303dab7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user