summaryrefslogtreecommitdiff
path: root/Control/Concurrent/Go.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-10-19 17:04:16 -0400
committerBen Sima <ben@bsima.me>2020-10-19 17:04:16 -0400
commit36021097e17ab1cfa971564cb70128d704e88f2d (patch)
treebd68ceeadc84c99332fb4be0ed4e9a32e662e9e0 /Control/Concurrent/Go.hs
parenta6514d11cdec3f0bdfba6929bf73cfd77a499e25 (diff)
Remove $ from Alpha
Diffstat (limited to 'Control/Concurrent/Go.hs')
-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