summaryrefslogtreecommitdiff
path: root/Control
diff options
context:
space:
mode:
Diffstat (limited to 'Control')
-rw-r--r--Control/Concurrent/Go.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Control/Concurrent/Go.hs b/Control/Concurrent/Go.hs
index 08a1d65..69d35b8 100644
--- a/Control/Concurrent/Go.hs
+++ b/Control/Concurrent/Go.hs
@@ -50,7 +50,7 @@ fork = Concurrent.forkIO
chan :: Int -> IO (Channel a)
chan n = do
(i, o) <- Chan.newChan n
- return $ Channel i o n
+ return <| Channel i o n
-- | A channel for broadcasting to multiple consumers. See 'mult'.
type Mult a = Chan.OutChan a