rearrange module header
authorSimon Marlow <marlowsd@gmail.com>
Mon, 2 Jul 2012 11:51:01 +0000 (12:51 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 2 Jul 2012 11:51:01 +0000 (12:51 +0100)
Control/Concurrent/STM/TChan.hs

index eece85c..52af426 100644 (file)
@@ -24,17 +24,21 @@ module Control.Concurrent.STM.TChan (
 #ifdef __GLASGOW_HASKELL__
        -- * TChans
        TChan,
-       newTChan,
+
+        -- ** Construction
+        newTChan,
        newTChanIO,
        newBroadcastTChan,
        newBroadcastTChanIO,
+        dupTChan,
+
+        -- ** Reading and writing
        readTChan,
        tryReadTChan,
        peekTChan,
        tryPeekTChan,
        writeTChan,
-       dupTChan,
-       unGetTChan,
+        unGetTChan,
         isEmptyTChan,
         cloneTChan
 #endif