-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some concurrent combinators for folds
- Loading branch information
1 parent
cd6750e
commit e299522
Showing
5 changed files
with
156 additions
and
31 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{- $setup | ||
>>> :m | ||
>>> :set -XFlexibleContexts | ||
>>> import Control.Concurrent (threadDelay) | ||
>>> import Data.List (sortOn) | ||
>>> import Data.HashMap.Strict (HashMap) | ||
>>> import Streamly.Data.Fold (Fold) | ||
>>> import Streamly.Data.Stream (Stream) | ||
>>> import qualified Data.HashMap.Strict as HM | ||
>>> import qualified Streamly.Data.Fold.Prelude as Fold | ||
>>> import qualified Streamly.Data.Stream.Prelude as Stream | ||
For APIs that have not been released yet. | ||
>>> import qualified Streamly.Internal.Data.Fold as Fold | ||
>>> import qualified Streamly.Internal.Data.Fold.Prelude as Fold | ||
-} |
This file contains 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