Ticket #5911: 0004-TChan-Organize-module-header-a-bit.patch

File 0004-TChan-Organize-module-header-a-bit.patch, 876 bytes (added by joeyadams, 3 years ago)

TChan: Organize module header a bit

  • Control/Concurrent/STM/TChan.hs

    From 708808df8db0a089292f36f26de211debd7ef608 Mon Sep 17 00:00:00 2001
    From: Joey Adams <[email protected]>
    Date: Fri, 2 Mar 2012 21:13:10 -0500
    Subject: [PATCH 4/4] TChan: Organize module header a bit
    
    ---
     Control/Concurrent/STM/TChan.hs |    6 +++++-
     1 files changed, 5 insertions(+), 1 deletions(-)
    
    diff --git a/Control/Concurrent/STM/TChan.hs b/Control/Concurrent/STM/TChan.hs
    index 9a127bf..9666f4c 100644
    a b module Control.Concurrent.STM.TChan ( 
    2424#ifdef __GLASGOW_HASKELL__
    2525        -- * TChans
    2626        TChan,
     27
     28        -- ** Construction
    2729        newTChan,
    2830        newTChanIO,
    2931        newBroadcastTChan,
    3032        newBroadcastTChanIO,
     33        dupTChan,
     34
     35        -- * Reading and writing
    3136        readTChan,
    3237        tryReadTChan,
    3338        peekTChan,
    3439        tryPeekTChan,
    3540        writeTChan,
    36         dupTChan,
    3741        unGetTChan,
    3842        isEmptyTChan
    3943#endif