Harendra Kumar
00afd30437
Rearrange the "Combining Streams" section
2021-04-02 18:20:02 +05:30
Harendra Kumar
8053f66273
Rearrange transformation section
2021-04-02 17:14:23 +05:30
Harendra Kumar
796bb224f2
Rearrange the elimination section
...
Similar to Streamly.Internal.Data.IsStream.Eliminate
2021-04-02 14:18:13 +05:30
Harendra Kumar
1b6fb5b94e
Rearrange stream construction section
...
Similar to Streamly.Internal.Data.Stream.IsStream.Generate.
2021-04-02 13:46:40 +05:30
Harendra Kumar
6d78fdede8
Move the stream types at the end of the module
...
This is a long section but a bit of distraction. It's perhaps better to
have more important sections at the beginning.
2021-04-02 13:26:25 +05:30
Harendra Kumar
5b2619dff5
Rearrange and edit the overview section of Prelude
2021-04-02 03:48:57 +05:30
Harendra Kumar
43623cb06d
Update docs/examples for folds in prelude
2021-04-02 01:43:24 +05:30
Harendra Kumar
0801c360e3
Update documentation of Zip streams
2021-04-01 16:57:14 +05:30
Harendra Kumar
9c88791922
Fix doctests in Streamly.Prelude
2021-04-01 16:57:14 +05:30
Harendra Kumar
6173630f22
Use internal modules instead of exposed ones
...
For a simpler dependency structure of modules.
2021-03-31 23:36:26 +05:30
Harendra Kumar
448960b4b8
Move mkAsync in concurrent scheduling section
2021-03-31 23:20:48 +05:30
Harendra Kumar
04afd6fcc1
Update the docs of async/wAsync/parallel
2021-03-31 23:19:50 +05:30
Harendra Kumar
1f1e3bdb1a
Update the docs of AheadT for brevity/clarity
2021-03-31 23:19:50 +05:30
Harendra Kumar
f8a84ccbaa
Edit the docs of SerialT and WSerialT
...
* Make it more concise
* Move the <> docs to serial/wSerial ops doc
2021-03-31 23:19:50 +05:30
Harendra Kumar
bb746aa407
Add auto concurrency control section in overview
2021-03-31 23:19:50 +05:30
Harendra Kumar
5616d0eab0
Update documentation of serial streams.
2021-03-31 23:19:50 +05:30
Harendra Kumar
7ab0093828
Move overview section from Streamly to Streamly.Prelude
...
Make some edits for brevity and better readability.
2021-03-31 23:19:50 +05:30
Adithya Kumar
ac5c311242
Prefix tests with module names
...
Solves https://github.com/composewell/streamly/issues/858
2021-03-31 19:32:42 +05:30
Adithya Kumar
f1f8d7ac5e
Renamed function/bench names appropriatly in bench:StreamK
...
Also add a the benchmarks that need to be added
2021-03-31 17:42:09 +05:30
Adithya Kumar
029e6873e7
Fix filterScan. Revert to using maxBound over streamLen.
...
Quoting, harendra-kumar,
> Since we are adding the numbers in the stream, <= streamLen would terminate
> the stream much earlier. We should use maxBound instead. That's because we
> compose this with filter again in the mixed benchmarks
2021-03-30 17:02:18 +05:30
Adithya Kumar
876b904ecb
Modify benchmarks to keep name comparisions backwards compatible
2021-03-30 17:02:18 +05:30
Adithya Kumar
98bc69e3d0
Rename value-ish to streamLen-ish in bench:StreamK
...
maxValue -> value
value -> streamLen
value2 -> streamLen2
value3 -> streamLen3
value16 -> streamLen16
2021-03-30 17:02:18 +05:30
Adithya Kumar
1079b49aab
Collapse sourceUnfoldr(M)N into sourceUnfoldr(M) in bench:StreamK
...
As of this commit they are completely identical.
2021-03-30 17:02:18 +05:30
Adithya Kumar
ada707b778
Move passing benchmark properties to the root in bench:StreamK
2021-03-30 17:02:18 +05:30
Adithya Kumar
ad4bcce47f
Remove unecessary code in bench:StreamK
2021-03-30 17:02:18 +05:30
Adithya Kumar
f1c19a6e85
Split O(1) space benchmarks into multiple groups in bench:StreamK
2021-03-30 17:02:18 +05:30
Adithya Kumar
23253c0270
Move global limits into function arguments in bench:StreamK
2021-03-30 17:02:18 +05:30
Adithya Kumar
c7cd7c877a
Keep the INLINE statement & signature with function 4 bench:StreamK
2021-03-30 17:02:18 +05:30
Pranay Sashank
16dfa5638a
Add Since: 0.8.0 annotations to new functions.
2021-03-30 15:19:29 +05:30
Harendra Kumar
7a1463d0a2
Add overall docs for unfold module
...
Also remove some exports which may not be required for using unfolds
with streams.
2021-03-26 20:27:56 +05:30
Harendra Kumar
ea6f2fb6be
Add an "unfoldr" unfold
2021-03-26 20:27:56 +05:30
Harendra Kumar
ae741f1bd8
Change the order of arguments in Unfold.fold
...
To keep it consistent with Stream.fold.
2021-03-26 20:27:56 +05:30
Adithya Kumar
ca60ffaa88
Use build memory limiting flag in the CIs
2021-03-26 16:40:43 +05:30
Adithya Kumar
27ccdf4d94
Move compilation memory restrictions under a flag
2021-03-26 16:40:43 +05:30
Harendra Kumar
42b0ab9fb2
Cleanup unfold exception combinator exports
...
* Remove before/after from exports
* Simplify implementation of before
* Some doc cleanups
2021-03-25 01:31:35 +05:30
Harendra Kumar
0954511144
Refactor/rename/add basic unfold constructors
2021-03-24 21:19:18 +05:30
Harendra Kumar
8af1c368c6
Change signatures of zipWith/zipWithM
2021-03-24 20:38:56 +05:30
Harendra Kumar
c5b2ad3740
Refactor/add cross product APIs
2021-03-24 04:00:21 +05:30
Harendra Kumar
a6e8e23062
Make enumerateFromStepNum numerically stable
2021-03-24 03:59:24 +05:30
Harendra Kumar
a5e483b610
Refactor Unfold module
...
* Rearrange exports, export additional functions
* Update docs
* Disable applicative/monad/category/arrow instances
* Rename const to yieldM and add yield
* Remove "effect", it can be expressed by yieldM
* Change order of arguments for some functions
2021-03-24 01:40:30 +05:30
Harendra Kumar
de06529fef
Rearrange, update docs of enumeration functions
2021-03-23 22:53:25 +05:30
Harendra Kumar
82c177a554
Update changelog for unfoldMany
2021-03-22 19:23:21 +05:30
Ranjeet Kumar Ranjan
b73b5ffa3a
Rename concatUnfold to unfoldMany #986
2021-03-22 19:05:17 +05:30
Ranjeet Kumar Ranjan
7759cc0082
Rename Unfold.concat to Unfold.many #985
2021-03-20 00:40:13 +05:30
Harendra Kumar
8be2c1c484
Split IsStream.Nesting into Expand and Reduce
2021-03-19 01:22:52 +05:30
Pranay Sashank
ee691b6c89
Add Changelog for 0.7.3.
2021-03-18 13:50:51 +05:30
Pranay Sashank
9bd975611e
Implement parse in terms of parse_.
2021-03-18 13:11:34 +05:30
Pranay Sashank
7650587baa
Implement fold in terms of fold_.
...
- Add test for fold_.
2021-03-18 13:11:23 +05:30
Harendra Kumar
3cd4b10507
Update comments about bind impl of SerialT
2021-03-17 02:49:41 +05:30
Harendra Kumar
3b1a26cee5
Update Fold module docs and expose some APIs
2021-03-16 01:46:51 +05:30