Harendra Kumar
58b7b77857
Make the seed in foldIterateM monadic
2021-10-10 14:17:06 +05:30
Harendra Kumar
209433807f
Rename unsafeSlice to getSliceUnsafe
2021-10-09 22:59:01 +05:30
Harendra Kumar
02e884f264
Fix the takeBetween test
...
Fixes #1099
2021-10-09 22:53:18 +05:30
Harendra Kumar
1953900342
Ensure asserts are on in debug/dev/non-opt builds
2021-10-09 22:50:37 +05:30
Harendra Kumar
b38ae55fb0
Add test for writeN fold applied multiple times
2021-10-09 22:50:37 +05:30
Harendra Kumar
bb6856e0fd
Add a basic test for concatPairsWith
2021-09-29 22:55:31 +05:30
Ranjeet Kumar Ranjan
c6bc13963f
Make sequence concurrent
2021-09-28 09:30:35 +05:30
Harendra Kumar
f6b88dc488
Add a flag for flaky tests
2021-09-14 23:19:54 +05:30
Harendra Kumar
b82985820e
Disable rate tests taking too much memory
2021-09-14 23:11:17 +05:30
Harendra Kumar
ea50a6cb50
Add use-large-mem flag
...
To include tests that require large amounts of RAM
2021-09-14 23:11:17 +05:30
Harendra Kumar
9d7bd5293a
Make the test more reliable and add diag info
2021-09-14 23:11:17 +05:30
Harendra Kumar
70e7f94691
Move IsStream definition out of low level modules
...
The IsStream type class contains MonadAsync type in the consM method.
This refactor allows lifting MonadAsync, therefore, dependency on
monad-control out of the low level modules.
2021-09-14 23:11:17 +05:30
Adithya Kumar
62675bf529
Fix test:Unicode.Char static path for bin/test.sh
2021-09-13 18:48:12 +05:30
Adithya Kumar
705d2cf79f
Move test:Unicode.Char into dev build
2021-09-13 18:48:12 +05:30
Harendra Kumar
932f7b26f0
Refactor and reformat readChunksFromToWith
2021-09-09 10:36:21 +05:30
Ranjeet Ranjan
debc6a95d4
Add readChunksFromToWith, read ranges from Handle
2021-09-09 10:36:21 +05:30
Ranjeet Kumar Ranjan
878d734dd7
Implement some undefined functions in Fold module
...
Implement Some undefined in Internal.Data.Fold module
Add test cases for newly added functions
Add bench marks for newly added Data.Fold functions
2021-09-05 05:39:45 +05:30
Harendra Kumar
d5a8ebe185
Refactor, rename, reorg code, update docs
...
* Add enumerateFromStepNum as a common function to implement two others
* Rename, Bounded suffix means the API has a Bounded constraint
* Move some functions in relevant sections
* Update some docs
2021-08-24 08:44:48 +05:30
Harendra Kumar
1eed4e1212
Make some formatting, doc changes
2021-08-24 08:44:21 +05:30
Ranjeet Kumar Ranjan
ba9a4e8f6a
Change signature of enumerate functions
2021-08-24 08:44:21 +05:30
Adithya Kumar
1af938999b
Add tests for retry
2021-08-09 21:21:33 +05:30
adithyaov
08ee39b078
Add unicode normalization test-suite
2021-08-09 19:43:40 +05:30
Adithya Kumar
3017898716
Add tests for Parser.choice
2021-08-09 16:36:48 +05:30
Ranjeet Kumar Ranjan
0b877054f8
Add test cases for newly added functions
...
Fix formatting
Fix review comments
Change Data.Fold.map to Data.Fold.lmap
2021-08-05 15:05:48 +05:30
Adithya Kumar
00240ed531
Add tests for takeP
2021-08-04 20:58:44 +05:30
Adithya Kumar
65758bab4d
Make API in Array.Foreign.Mut monadic in IO
2021-07-30 19:00:38 +05:30
Adithya Kumar
c9232b0e25
Extracted IO related common functions into a new module
2021-07-29 15:35:16 +05:30
Adithya Kumar
9bda2e67b9
Change the API of unsafeWriteIndex and add fromListIO
2021-07-29 15:35:16 +05:30
Harendra Kumar
3339c2082d
Add fold and parse for array streams
...
The test and benchmark code is taken from Adithya's original double
ended lists based implementation.
2021-07-26 18:14:46 +05:30
Harendra Kumar
f5470713c2
Update CI test matrix requirements and the script
...
Also, fix a few test issues to make the CIs work.
2021-06-22 22:54:41 +05:30
Harendra Kumar
eb50b94bd2
Add ability to pass arguments to doctest
...
* Also, use --fast by default
* Add documentation for running doctests in the test README
2021-06-11 02:10:52 +05:30
Pranay Sashank
7d9256e283
Rename Parser.yield, yieldM to fromPure, fromEffect.
2021-05-30 22:24:54 +05:30
Pranay Sashank
f24ddc0bdf
Rename Unfold.yield, yieldM to fromPure, fromEffect.
2021-05-30 22:24:54 +05:30
Harendra Kumar
79defeb5ec
Make minor refactoring changes for fromPure/fromEffect
...
* Move deprecated functions next to original ones, keep them in the generate
section itself.
* Rename constructWithYield to constructWithFromPure
* Fix typo
2021-05-29 14:31:44 +05:30
Pranay Sashank
70faf014ca
Rename Streamly.Prelude.yieldM to fromEffect.
...
- Deprecate yieldM.
2021-05-29 02:05:01 +05:30
Pranay Sashank
4dfc6bf9ee
Rename Streamly.Prelude.yield to fromPure.
...
- Deprecate yield.
2021-05-29 01:22:02 +05:30
Harendra Kumar
03cf686ca7
Export some pre-release array APIs
...
* getIndex
* casting ops
* writeLastN
* readRev
2021-04-27 13:37:56 +05:30
Harendra Kumar
ae1ffbf520
Export forSocketM, rename transformBytesWith
2021-04-24 16:17:39 +05:30
Harendra Kumar
dc647f4a4e
Change the argument order of intercalate and interpose
2021-04-24 16:17:39 +05:30
Ranjeet Kumar Ranjan
ac215ad43f
Rename serially etc. to fromSerial etc. #1029
2021-04-16 00:20:54 +05:30
Ranjeet Kumar Ranjan
f203fa8c5d
Rename fold constructors in Data.Fold #1016
2021-04-12 13:01:24 +05:30
Pranay Sashank
10b03bf59f
Fix tests under dev flag.
2021-04-06 17:11:59 +05:30
Adithya Kumar
d3cc553ef9
Add a test case for Mut.unsafeWriteIndex
2021-04-06 02:34:29 +05:30
Adithya Kumar
833ad1f591
Add a basic array slicing combinator
2021-04-05 23:50:38 +05:30
Harendra Kumar
549d7fd492
Add lifting inner monad section
...
Expose liftInner, runStateT, runReaderT
2021-04-02 21:35:32 +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
27ccdf4d94
Move compilation memory restrictions under a flag
2021-03-26 16:40:43 +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