Skip to content

Commit 7255a4d

Browse files
committed
unwrap a few more lines
1 parent 79e1836 commit 7255a4d

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

unfork/Unfork/Async/WithResult/Future.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ await (Future v) = MVar.readMVar v
2525

2626
{- |
2727
28-
Returns 'Just' an action's result, or 'Nothing' if the
29-
action is not yet complete
28+
Returns 'Just' an action's result, or 'Nothing' if the action is not yet complete
3029
3130
-}
3231

unfork/Unfork/Async/WithResult/STM.hs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
33
STM, asynchronous, with task results available
44
5-
To make task results available, we maintain a queue that
6-
contains not only each the task itself, but also a TVar to
7-
store its result. Each step of the queue loop runs the action
8-
and then places the result into the TVar.
5+
To make task results available, we maintain a queue that contains not only each the task itself, but also a TVar to store its result. Each step of the queue loop runs the action and then places the result into the TVar.
96
107
-}
118

0 commit comments

Comments
 (0)