[commit: stm] master: Minor grammar fix in documentation of newTChan (9d4d6e9)

Simon Marlow marlowsd at gmail.com
Tue Jul 3 09:45:09 CEST 2012


Repository : ssh://darcs.haskell.org//srv/darcs/packages/stm

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/9d4d6e93afae220e932c5bfb2295347861ee49a2

>---------------------------------------------------------------

commit 9d4d6e93afae220e932c5bfb2295347861ee49a2
Author: Joey Adams <joeyadams3.14159 at gmail.com>
Date:   Fri Mar 2 21:07:10 2012 -0500

    Minor grammar fix in documentation of newTChan

>---------------------------------------------------------------

 Control/Concurrent/STM/TChan.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Control/Concurrent/STM/TChan.hs b/Control/Concurrent/STM/TChan.hs
index 7c30dd8..3a9df05 100644
--- a/Control/Concurrent/STM/TChan.hs
+++ b/Control/Concurrent/STM/TChan.hs
@@ -53,7 +53,7 @@ data TChan a = TChan _UPK_(TVar (TVarList a))
 type TVarList a = TVar (TList a)
 data TList a = TNil | TCons a _UPK_(TVarList a)
 
--- |Build and returns a new instance of 'TChan'
+-- |Build and return a new instance of 'TChan'
 newTChan :: STM (TChan a)
 newTChan = do
   hole <- newTVar TNil





More information about the Cvs-libraries mailing list