[commit: ghc] master: Fix typos in base documentation. (2f8d5e2)
git at git.haskell.org
git at git.haskell.org
Fri Jul 11 04:57:33 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/2f8d5e28929649c0c4fb0e48c78ec63a7ae625ab/ghc
>---------------------------------------------------------------
commit 2f8d5e28929649c0c4fb0e48c78ec63a7ae625ab
Author: Shachaf Ben-Kiki <shachaf at gmail.com>
Date: Thu Jul 10 23:55:53 2014 -0500
Fix typos in base documentation.
Summary: Signed-off-by: Shachaf Ben-Kiki <shachaf at gmail.com>
Test Plan: n/a
Reviewers: austin
Reviewed By: austin
Subscribers: simonmar, relrod, carter
Differential Revision: https://phabricator.haskell.org/D57
>---------------------------------------------------------------
2f8d5e28929649c0c4fb0e48c78ec63a7ae625ab
libraries/base/Control/Concurrent.hs | 4 ++--
libraries/base/Data/Data.hs | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libraries/base/Control/Concurrent.hs b/libraries/base/Control/Concurrent.hs
index c487190..e5a0ebf 100644
--- a/libraries/base/Control/Concurrent.hs
+++ b/libraries/base/Control/Concurrent.hs
@@ -361,8 +361,8 @@ is /bound/, an unbound thread is created temporarily using 'forkIO'.
Use this function /only/ in the rare case that you have actually observed a
performance loss due to the use of bound threads. A program that
-doesn't need it's main thread to be bound and makes /heavy/ use of concurrency
-(e.g. a web server), might want to wrap it's @main@ action in
+doesn't need its main thread to be bound and makes /heavy/ use of concurrency
+(e.g. a web server), might want to wrap its @main@ action in
@runInUnboundThread at .
Note that exceptions which are thrown to the current thread are thrown in turn
diff --git a/libraries/base/Data/Data.hs b/libraries/base/Data/Data.hs
index 25f2875..49407fa 100644
--- a/libraries/base/Data/Data.hs
+++ b/libraries/base/Data/Data.hs
@@ -777,12 +777,12 @@ mkCharConstr dt c = case datarep dt of
------------------------------------------------------------------------------
--
--- Non-representations for non-presentable types
+-- Non-representations for non-representable types
--
------------------------------------------------------------------------------
--- | Constructs a non-representation for a non-presentable type
+-- | Constructs a non-representation for a non-representable type
mkNoRepType :: String -> DataType
mkNoRepType str = DataType
{ tycon = str
More information about the ghc-commits
mailing list