Adithya Kumar
3e76123e53
Add couple of test cases for foreign mutable array
2022-06-30 17:51:39 +05:30
Harendra Kumar
4912b1d923
Merge pull request #1644 from composewell/NewStream_more_functions
...
New Stream more functions
2022-06-23 18:45:54 +05:30
Harendra Kumar
6cfe06b357
Refactor, document, fixup Data.Stream module
...
Minimize the difference with IsStream modules and fix the differences
Fix all doctests, remove stale since notations
Remove redundant functions from Stream/Common module
Remove the "map" operation, we should use "fmap" instead.
2022-06-23 16:50:16 +05:30
Ranjeet Kumar Ranjan
4f929f3ed3
Add Data.Stream module for serial streams
...
This module will replace SerialT type with Stream type. The new serial
stream type "Stream m a" has the same underlying representation as
"SerialT m a" and the two types can be coerced to each other.
2022-06-23 16:29:40 +05:30
Adithya Kumar
24f3447437
Update the CHANGELOG with the Storable -> Prim migration
2022-06-23 16:09:57 +05:30
Adithya Kumar
b95d3c4d1d
Add a CI workflow the uses storable for unboxed arrays
2022-06-23 16:09:57 +05:30
Adithya Kumar
adc2e75b5d
Abstract out Unboxing helpers and comment out IOVec code
2022-06-23 16:09:57 +05:30
Adithya Kumar
ffca3ac5fe
Pin the package revisions in cabal.project.report
2022-06-23 13:39:02 +05:30
Harendra Kumar
9861120b4a
Implement fromListRevN and fromListRev for arrays
2022-06-20 16:15:20 +05:30
Adithya Kumar
4e252a890b
Remove duplicate function (lmap2) in Producer module
2022-06-19 15:52:20 +05:30
Adithya Kumar
12c778795c
Make the doc of Stream.trace work with docspec
2022-06-18 22:22:39 +05:30
Adithya Kumar
338734663a
Add trace to folds
2022-06-18 22:22:39 +05:30
Adithya Kumar
bd13edb77c
Reuse mutable array producer code in immutable arrays
2022-06-11 21:10:48 +05:30
Adithya Kumar
8bfff35b44
Add another type of input mapping in Producer
2022-06-11 21:10:48 +05:30
Adithya Kumar
bf8561e18d
Reuse mutable array code in Foreign.Type
2022-06-11 21:10:48 +05:30
Adithya Kumar
0d5a96eacc
Improve mutable foreign array benchmarks
2022-06-11 19:22:07 +05:30
Adithya Kumar
c2acb453e7
Make the sum fold numerically stable
2022-06-11 19:21:46 +05:30
Adithya Kumar
0d2ce6ca76
Deprecate variance and stdDev in folds
2022-06-11 19:18:01 +05:30
Adithya Kumar
f81f8b5bf3
Add a packdiff CI using the default executable
2022-06-11 19:06:25 +05:30
Adithya Kumar
d4c20981e6
Rename the smart constructors of terminating folds
2022-06-11 16:11:18 +05:30
Adithya Kumar
3773fca776
Update the benchmarks guide and fix the default.nix of bench-runner
2022-06-11 15:43:14 +05:30
Adithya Kumar
485930daa2
Use the head versions of managed dependencies while building report
2022-06-10 12:02:08 +05:30
Harendra Kumar
f82faecee3
Remove redundant MonadIO constraint on some array APIs
2022-06-10 00:48:44 +05:30
Harendra Kumar
348a4e1272
Add notes for creating arrays from pure streams
2022-06-10 00:48:44 +05:30
Harendra Kumar
0e739d7f6b
Implement read unfold for ring buffers
2022-06-10 00:11:38 +05:30
Adithya Kumar
1ee11e87ec
Increase the build memory limit for test:Data.Parser
2022-06-09 21:55:06 +05:30
Adithya Kumar
f3b07c2922
Add an option to preserve quotes in wordQuotedBy
2022-06-09 21:55:06 +05:30
Harendra Kumar
c5e0ee5a0c
Add more scan benchmarks for Window folds
2022-06-09 16:46:13 +05:30
Harendra Kumar
d36f02ff12
Implement min/max/range without dequeue
2022-06-09 16:46:13 +05:30
Adithya Kumar
40e549e605
Update the revisions of bench-report dependencies
2022-06-06 15:42:37 +05:30
Adithya Kumar
acc37cf60e
Make regression checking CI dispatchable manually
2022-06-06 13:13:48 +05:30
Ranjeet Kumar Ranjan
9c87c644f7
Remove tapRate
2022-06-04 13:09:23 +05:30
Harendra Kumar
4608fad861
Fix documentation in the Stream modules
...
Add the unfold operation in Generation module.
2022-06-03 22:26:07 +05:30
Harendra Kumar
187295832e
Refactor, reformat Stream module
...
Remove redundant operations, operations that can be expressed by
unfolds (generatio opsn) and folds (elimination ops).
2022-06-02 17:32:54 +05:30
Ranjeet Kumar Ranjan
dae276f7ec
Add a Streamly.Internal.Data.Stream module
...
This is essentially the same as the old SerialT type. It will contain
all the Streamly.Prelude operations monomorphized to Serial stream.
2022-06-02 17:32:54 +05:30
Harendra Kumar
7b57bed5ad
Group either based parsers together in export list
2022-05-31 22:59:49 +05:30
Harendra Kumar
d23907410a
Add fromFoldMaybe in Parser module
2022-05-31 22:59:49 +05:30
Harendra Kumar
eb43f56427
Change the signature of fromFoldMaybe
...
Include the error message as an argument.
2022-05-31 22:57:41 +05:30
Ranjeet Kumar Ranjan
15a0629e8b
Implement fromFoldMaybe
2022-05-31 22:57:41 +05:30
Harendra Kumar
fc8670670e
Add "maybe" fold
2022-05-31 22:57:41 +05:30
Harendra Kumar
b3c69485fb
Group element folds together in the export list
2022-05-31 22:57:41 +05:30
Ishan Bhanuka
9d68f58a21
Implement concatSequence for parser
...
concatSequence collects sequential parses of
parsers in a serial stream using a fold.
* Wrapper and internal implementation
* Benchmark and tests
* Documentation update
2022-05-30 12:07:09 +05:30
Harendra Kumar
4fa2d548fa
Fix ghc head version download URL
2022-05-29 00:40:37 +05:30
Harendra Kumar
a5a941937e
Implement stream split ops in terms of folds
...
Added only doctest definitions and commented code as of now for
implementing:
* splitWithSuffixSeq in terms of takeEndBySeq fold
* splitOnSuffixSeq in terms of takeEndBySeq_
* splitOnSeq in terms of takeEndBySeq_
2022-05-29 00:40:37 +05:30
Harendra Kumar
d5b3e375b7
Add takeEndBySeq_ fold
2022-05-29 00:40:37 +05:30
Harendra Kumar
e433d17497
Add takeEndBySeq fold
...
For searching a substring in a string.
2022-05-29 00:40:37 +05:30
Harendra Kumar
2aae2da54c
Add Word8 stream splitting tests
2022-05-29 00:29:39 +05:30
Harendra Kumar
cf7b9b9927
Add splitWithSuffixSeq benchmarks
2022-05-29 00:29:39 +05:30
Ranjeet Kumar Ranjan
509fc06729
Fix takeFramedByEsc_ test case
2022-05-28 23:58:02 +05:30
Adithya Kumar
cbccb77777
Bump the version to the next major release target & run autoreconf
2022-05-25 15:10:16 +05:30