Repository navigation
Add flushTQueue, flushTBQueue - #1
Merged
Merged
Conversation
bgamari
requested changes
Nov 22, 2017
| tryReadTBQueue c = fmap Just (readTBQueue c) `orElse` return Nothing | ||
|
|
||
| -- | Efficiently read the entire contents of a 'TBQueue' into a list. This | ||
| -- function never retries. |
Contributor
There was a problem hiding this comment.
Can you add a @since here?
| tryReadTQueue c = fmap Just (readTQueue c) `orElse` return Nothing | ||
|
|
||
| -- | Efficiently read the entire contents of a 'TQueue' into a list. This | ||
| -- function never retries. |
mitchellwrosen
force-pushed
the
master
branch
from
November 30, 2017 15:47
ba11978 to
344bf91
Compare
Contributor
Author
|
Oops! Somehow this escaped my notifications queue. Ok, added |
Member
|
@bgamari btw, what's the change that makes you think the next version needs to be a major bumped 2.5? |
Contributor
Author
Member
|
@mitchellwrosen just fill in |
mitchellwrosen
force-pushed
the
master
branch
from
December 9, 2017 16:41
344bf91 to
33d35cd
Compare
mitchellwrosen
force-pushed
the
master
branch
from
December 9, 2017 16:42
33d35cd to
7ee8719
Compare
Contributor
Author
|
@hvr Sure, done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Here's a convenience function I've wanted before in the past, and it's much more efficient than:
Thanks!