summaryrefslogtreecommitdiffhomepage
path: root/haskell.html.markdown
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2024-07-18 11:45:11 +0200
committerGitHub <noreply@github.com>2024-07-18 11:45:11 +0200
commit08b303dab76f725f671ca3149f697961e0006d30 (patch)
tree87e0fe4f6fa616531d0bc1af41abc44d907c1fe0 /haskell.html.markdown
parentcc9f50c3d8fa5d0995f607fe48d98c1cfb91fcb9 (diff)
Update haskell.html.markdown #5000
Diffstat (limited to 'haskell.html.markdown')
-rw-r--r--haskell.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell.html.markdown b/haskell.html.markdown
index 0c8055d1..1e1eb65a 100644
--- a/haskell.html.markdown
+++ b/haskell.html.markdown
@@ -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