summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavran Cheng <javran@google.com>2019-05-13 14:58:56 -0700
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-05-21 17:08:29 -0400
commitd0142f21692c4b4514ea68e489c943ac26037d8f (patch)
treea958730c2eac961144e8a281b698251e16f7b529
parent9342b1fabd09e8bbebb982b07f129da266f7c586 (diff)
downloadhaskell-d0142f21692c4b4514ea68e489c943ac26037d8f.tar.gz
Fix doc for Data.Function.fix.
Doc-only change.
-rw-r--r--libraries/base/Data/Function.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Data/Function.hs b/libraries/base/Data/Function.hs
index 7a77160a60..b2dc5adbd2 100644
--- a/libraries/base/Data/Function.hs
+++ b/libraries/base/Data/Function.hs
@@ -45,7 +45,7 @@ infixl 1 &
-- 120
--
-- Instead of making a recursive call, we introduce a dummy parameter @rec@;
--- when used within 'fix', this parameter then refers to 'fix' argument, hence
+-- when used within 'fix', this parameter then refers to 'fix'’s argument, hence
-- the recursion is reintroduced.
fix :: (a -> a) -> a
fix f = let x = f x in x