summaryrefslogtreecommitdiff
path: root/Control/Concurrent/STM/StatusCache.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Control/Concurrent/STM/StatusCache.hs')
-rw-r--r--Control/Concurrent/STM/StatusCache.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Control/Concurrent/STM/StatusCache.hs b/Control/Concurrent/STM/StatusCache.hs
index db77429f..3226978b 100644
--- a/Control/Concurrent/STM/StatusCache.hs
+++ b/Control/Concurrent/STM/StatusCache.hs
@@ -63,6 +63,7 @@ module Control.Concurrent.STM.StatusCache
63 , new 63 , new
64 , push 64 , push
65 , pull 65 , pull
66 , pullDepth
66 , isStopper 67 , isStopper
67 , isStarter 68 , isStarter
68 , isEmpty 69 , isEmpty
@@ -77,7 +78,7 @@ data StatusCache x =
77 , cache :: TVar (TChan x) 78 , cache :: TVar (TChan x)
78 , feedFlag :: TVar Bool 79 , feedFlag :: TVar Bool
79 , pushDepth :: TVar Int 80 , pushDepth :: TVar Int
80 , pullDepth :: TVar Int 81 , pullDepth :: TVar Int -- ^ current nesting depth of next-to-pull data
81 , isStarter :: x -> Bool -- ^ True if the given chunk begins a message. 82 , isStarter :: x -> Bool -- ^ True if the given chunk begins a message.
82 , isStopper :: x -> Bool -- ^ True if the given chunk ends a message. 83 , isStopper :: x -> Bool -- ^ True if the given chunk ends a message.
83 } 84 }