[commit: stm] master: Minor grammar fix in documentation of newTChan (9d4d6e9)
Simon Marlow <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.libraries |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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