Commit Graph

3477 Commits

Author SHA1 Message Date
Adithya Kumar
a39a95824f Move IOVec and dependent modules under !ghcjs && dev flag 2022-09-28 15:09:06 +05:30
Harendra Kumar
4c876d443e Add ghcjs nix expression 2022-09-28 15:09:06 +05:30
Harendra Kumar
110191a013 Use ghcjs-8.10.7 for ghcjs build 2022-09-28 15:09:06 +05:30
Adithya Kumar
14e0fdeaba Package API-changelog.txt in streamly-docs 2022-09-27 16:12:59 +05:30
Adithya Kumar
9e328e9182 Sync the package version of streamly and streamly-docs 2022-09-27 16:12:59 +05:30
Ranjeet Ranjan
aef0a2e793
Move Array.Stream.Foreign to streamly-core (#1863) 2022-09-27 13:38:12 +05:30
Ranjeet Ranjan
a519c85bad
Remove IsStream imports from FileSystem.File module (#1850) 2022-09-26 16:54:35 +05:30
Harendra Kumar
888d1afbb7 Add async interleave benchmarks 2022-09-26 15:23:37 +05:30
Harendra Kumar
2ca80e7503 Add interleave and concatMapInterleave operations 2022-09-26 15:23:37 +05:30
Adithya Kumar
f3ac108f1e Derive an instance of Unbox for Word32 2022-09-25 23:00:29 +05:30
Adithya Kumar
ba4d23b489 Add correct impl of takeInterval & dropInterval to Stream.Parallel
- Remove the incorrect implementation of from IsStream
- Remove takeByTime and dropByTime from StreamD
2022-09-22 01:49:06 +05:30
Adithya Kumar
99846a8f07 Remove the primitive dependency from streamly-core 2022-09-22 01:49:06 +05:30
Adithya Kumar
41947be294 Fix a few ParserK combinators 2022-09-22 01:49:06 +05:30
Adithya Kumar
4feef0a3b4 Add parseMany groupBy benchmarks 2022-09-22 01:49:06 +05:30
Harendra Kumar
d33bb110ab Move common idioms from Generate to Data.Stream 2022-09-20 22:18:20 +05:30
Harendra Kumar
3fd33b69ea Fix fromSerial to fromAsync in Async.Prelude benchmarks 2022-09-20 19:46:21 +05:30
Harendra Kumar
5e089b4a36 Add a benchmark for Data.Stream.Async 2022-09-20 18:40:00 +05:30
Harendra Kumar
8a0d9ad39f Add test for new Async streams 2022-09-20 18:40:00 +05:30
Harendra Kumar
62c4903c85 Implement explicit concurrency via channels 2022-09-20 18:35:53 +05:30
Harendra Kumar
30c98dc65f Move Data.Stream.Async to Data.Stream.IsStream.Async
This reverts commit 5691335cf1d27ec2e00c319d59fa80a317864b9c.
2022-09-20 18:35:53 +05:30
Harendra Kumar
57b9276f9f Add before, concatEffect, concatMapEffect to StreamK 2022-09-20 18:35:53 +05:30
Harendra Kumar
0780dbbd22 Add liftInner and evalStateT to StreamK 2022-09-20 18:35:53 +05:30
Ranjeet Ranjan
a060b79997
Expose Parser module (#1831)
Co-authored-by: Harendra Kumar <harendra@composewell.com>
2022-09-20 14:44:49 +05:30
Ranjeet Ranjan
b1eb9c4bc4
Reduce Internal module imports from streamly-core package (#1830)
Use exposed APIs where possible.

Co-authored-by: Harendra Kumar <harendra@composewell.com>
2022-09-20 02:48:35 +05:30
Ranjeet Kumar Ranjan
301c0a337a Add since annotations on Streamly.Data.Stream module 2022-09-13 16:36:55 +05:30
Harendra Kumar
ed85ad849a Add a foldStream signature
And a "done" checking function for folds.
2022-09-06 00:23:57 +05:30
Harendra Kumar
7ddd91d9bf Update nix to 22.05 2022-09-05 20:09:47 +05:30
Harendra Kumar
f2eb96a641 Remove c-malloc and streamk builds, use ghc-9.2.2 2022-09-05 20:09:24 +05:30
Harendra Kumar
935f69e46e
Add modular scanning functions for transformations (#1809)
Usable across folds and streams. Implemented common transformations
using scans. Performance of single operation benchmark seems to be
unaffected but in some cases combinations of multiple benchmarks or the
same operation multiple times is degraded.

The perf impact could perhaps be improved if we have a separate Scan
type where we do not need a pre-initialization of state.
2022-09-05 18:17:05 +05:30
Adithya Kumar
f4de841441 Update the Changelog w.r.t array changes 2022-09-01 17:50:55 +05:30
Adithya Kumar
569dbe92e5 Add Streamly.Data.Unbox 2022-09-01 17:50:55 +05:30
Adithya Kumar
c4dd0cb225 Add Streamly.Data.Array.Unboxed.Mut 2022-09-01 17:50:55 +05:30
Adithya Kumar
e3e60caeaa Update the Unboxed representation
1. Use sizeOf and alignment from Storable
2. Rename readByteArray -> box and writeByteArray -> unbox
3. Rename ArrayContents to MutableByteArray
4. Change the meaning of the typeclass and update the docs accordingly
2022-09-01 17:50:55 +05:30
Adithya Kumar
257a8a260a Extend packages with a proper version of lockfree-queue 2022-08-29 17:31:38 +05:30
Harendra Kumar
af5983aac1 Update tested-with GHC versions 2022-08-28 01:41:09 +05:30
Harendra Kumar
e06412bd8e Bump cache regression-check 2022-08-28 01:38:24 +05:30
Harendra Kumar
2448b9595d Refactor CI run script 2022-08-28 01:38:24 +05:30
Harendra Kumar
af7ef4b9fd packdiff CI: update ghcup version, bump cache 2022-08-28 01:38:11 +05:30
Harendra Kumar
b371355d83 Do not use Werror in doctest 2022-08-28 01:38:11 +05:30
Harendra Kumar
4cc4fbdd20 Upgrade lockfree-queue to version 0.2.4 2022-08-28 01:37:46 +05:30
Harendra Kumar
68dccf50a7 Bump dependency upper bounds for GHC 9.4
Bump base upper bound
Bump lockfree-queue upper bound
2022-08-28 01:37:46 +05:30
Harendra Kumar
cd67584db4 Update cabal and GHC versions
Bump cache version
2022-08-28 01:37:26 +05:30
Harendra Kumar
0ac7bacc62 Install the specified cabal version 2022-08-27 17:14:28 +05:30
Harendra Kumar
df325419a1 Update GHCUP version 2022-08-27 17:14:28 +05:30
Ranjeet Kumar Ranjan
db1c538afb Add ghc 9.4 CI 2022-08-27 17:14:28 +05:30
Harendra Kumar
a14c05807b Make Data.Stream benchmark build with streamly-core 2022-08-27 14:15:51 +05:30
Harendra Kumar
9e380eebba Update package tags for packdiff/bench-report 2022-08-27 14:02:23 +05:30
Harendra Kumar
21b6ed5ac9 Remove Instances.hs from streamly-core 2022-08-27 14:02:23 +05:30
Harendra Kumar
9afec89e2d Remove the StreamDK benchmark from bench targets 2022-08-26 18:02:36 +05:30
Ranjeet Kumar Ranjan
d0ab51e3a6 Do not re-export the Internal modules of streamly-core from streamly 2022-08-26 01:51:27 +05:30