Harendra Kumar
c3cf9cc019
Make some misc doc fixes
2022-04-21 19:34:31 +05:30
Harendra Kumar
6d247913c1
Add a rollingMapM fold
2022-04-21 19:34:31 +05:30
Ranjeet Kumar Ranjan
8569fdd383
Fix test case for takeBetween
2022-04-21 19:30:57 +05:30
Ranjeet Kumar Ranjan
5fd099e79b
Fix empty array issue when ring is full
2022-04-21 19:26:09 +05:30
Ranjeet Kumar Ranjan
889be18fc9
Create array with the new element inserted
2022-04-21 12:09:40 +05:30
Harendra Kumar
3eae020bc2
Return an Array generating action in slidingWindowWith
2022-04-20 17:32:08 +05:30
Ranjeet Kumar Ranjan
844db5e1fb
Implement slidingWindowWith
...
This is a more powerful version of slidingWindow providing access to the
ring as well in addition to the window entry and exit elements.
2022-04-20 17:32:08 +05:30
Ranjeet Kumar Ranjan
149b2af54c
Export Window module
2022-04-20 16:33:24 +05:30
Harendra Kumar
28cf08a334
Ignore ghc-9.0.2 failure for now
2022-04-19 16:37:15 +05:30
Harendra Kumar
02578386da
Use the demux input to determine the fold
...
We may want to use the entire value to determine the fold and not just
the key. For example, we may have the key as an Int that uniquely
determines the fold (for example a connection/request id). Once the
fold starts we can always lookup the fold using this key. However, to
determine what fold to use initially we may need more information than
just the request-id (e.g. the type of the message).
2022-04-11 18:41:37 +05:30
Adithya Kumar
6170d8dfba
Move the resources doc to the top user doc level
2022-04-11 01:16:09 +05:30
Adithya Kumar
4450a47f0a
Move performance into Explanatory
2022-04-11 01:16:09 +05:30
Adithya Kumar
cea637f697
Rename Explanation to Explanatory
2022-04-11 01:16:09 +05:30
Adithya Kumar
f9ae7a50bf
Add a section about checking for broken symlinks in MAINTAINING
2022-04-11 01:16:09 +05:30
Adithya Kumar
485c4fc562
Fix symlinks pointing into docs/
2022-04-11 01:16:09 +05:30
Adithya Kumar
cadd57ca19
Move user documentation under the User node
2022-04-11 01:16:09 +05:30
Adithya Kumar
5b135b5bfe
Symlink a few moved dev files
2022-04-11 01:16:09 +05:30
Adithya Kumar
72a0199c67
Move the README of benchmarks and tests into the developer docs
2022-04-11 01:16:09 +05:30
Adithya Kumar
0c02feae1f
Move Contributing doc into the developer documentation
2022-04-11 01:16:09 +05:30
Adithya Kumar
6f3371e656
Move dev/* (developer docs) into docs/Developer/*
2022-04-11 01:16:09 +05:30
Adithya Kumar
1aa7e60256
Fix documentation links
2022-04-11 01:16:09 +05:30
Adithya Kumar
e32bccdffa
Categorize documentation in a better way
2022-04-11 01:16:09 +05:30
Harendra Kumar
800ae8a8f8
Use monadic action to generate fold in demux*
2022-04-06 17:43:15 +05:30
Ranjeet Kumar Ranjan
d31f3329f1
Rename some unfold APIs
2022-04-06 17:41:47 +05:30
Ranjeet Kumar Ranjan
4f70b0d4e6
Rename Socket BufferOf APIs
2022-04-03 15:30:56 +05:30
Harendra Kumar
1d106e3a8a
Upgrade CIs to 9.0.2 and 9.2.2
2022-04-02 03:32:42 +05:30
Harendra Kumar
3b0cf814e3
Add postscanlMAfter'
2022-04-02 03:32:42 +05:30
Harendra Kumar
ba05f939b9
Use explicit buckets in classifySessions benchmarks
...
Terminate the session fold after 10 elements
2022-04-02 03:32:42 +05:30
Harendra Kumar
e0ad726fbd
Fix generic Map support for classifySessionsBy
2022-04-02 03:32:42 +05:30
Harendra Kumar
92b80f1a3b
Move the slowpath functions out of the main loop
2022-04-02 03:32:42 +05:30
Harendra Kumar
2ebed4d2fe
Make Map generic version of classifySessionsBy
2022-04-02 03:32:42 +05:30
Harendra Kumar
b30eb0e62d
Add todo notes in classifySessionsBy
2022-04-02 03:32:42 +05:30
Harendra Kumar
6b2f1c1669
Change demux fold APIs and implementations
2022-04-02 03:32:42 +05:30
Harendra Kumar
4163d9a681
Rearrange exports to group in logical order
2022-04-02 03:32:42 +05:30
Harendra Kumar
c3ef01328e
Make refold signature similar to concatMap
2022-04-02 03:32:42 +05:30
Harendra Kumar
d1b678f643
Move the zip and unzip operations in export list
...
Move these closer to related operations in the same class.
2022-04-02 03:32:42 +05:30
Ranjeet Kumar Ranjan
7886550a71
Add bubbleAsc function
...
Fix review comments
Fix last element
Fix empty arraay check
2022-04-01 14:40:43 +05:30
Ranjeet Kumar Ranjan
a6f041cdc7
Add scanMany to Fold
...
use Fold instead Refold
remove redundant imports
Fix review comments
code refactor
Fix benchmark
Fix indent
2022-03-31 01:04:56 +05:30
Ranjeet Kumar Ranjan
5283209f25
Use error when windowsize n <= 0
...
Put error condition in initial
2022-03-31 00:59:44 +05:30
Ranjeet Kumar Ranjan
f5e3dc9394
Downgrade Monad to Applicative
2022-03-30 18:48:13 +05:30
Harendra Kumar
fe89e02c1d
Update docs of tapAsync
2022-03-29 18:14:34 +05:30
Harendra Kumar
02e88c57c2
Add note about rollingMap as sliding fold
2022-03-29 18:14:34 +05:30
Harendra Kumar
135f28f1e7
Update doc of "distribute" fold
2022-03-29 18:14:34 +05:30
Harendra Kumar
a7a6c27216
Add doc implementing scanl' in terms of scan
2022-03-29 18:14:34 +05:30
Harendra Kumar
d6f9e6edbe
Update docs of demux and classify
...
Convert demux/classify doc snippets to docspec
2022-03-28 18:34:45 +05:30
Harendra Kumar
3fbdd64b3c
Add a comment about a slice invariant
2022-03-28 17:56:55 +05:30
Harendra Kumar
9e3347e43b
Add a todo for implementing rmapM using ParserD
2022-03-28 17:56:09 +05:30
Harendra Kumar
1a76a06654
Make classifyWith work with IsMap
2022-03-27 03:01:57 +05:30
Harendra Kumar
d78715ce45
Update classify benchmarks
...
* Move to o-n-heap group
* Add more benchmarks with different bucket sizes
2022-03-26 15:03:58 +05:30
Harendra Kumar
c2b81507dd
Add a note about using Prim IORef
2022-03-26 14:03:16 +05:30