Commit Graph

593 Commits

Author SHA1 Message Date
Ranjeet Ranjan
0be81f99fd
Remove the use-c-malloc build flag (#1793)
* Remove the use-c-malloc build flag
2022-08-22 14:15:52 +05:30
Ranjeet Ranjan
7dde623b7d
Move Streamly.Data.Unfold module to streamly-core package (#1771)
* Move Streamly.Data.Unfold to streamly-core package

* Remove readStream, just use the monomorphic fromStream

Co-authored-by: Harendra Kumar <harendra@composewell.com>
2022-08-20 10:59:13 +05:30
Ranjeet Ranjan
ec760805c9
Modularize test cases (#1707)
* Modularize test cases

* Make it build with test-core flag

And several other changes.

Co-authored-by: Harendra Kumar <harendra@composewell.com>
2022-08-20 00:45:57 +05:30
Ranjeet Kumar Ranjan
ca76876369 Repurpose the streamk build flag
Fix review comments

Fix review comments

Rename stramk CI to no-fusion
2022-08-19 17:12:36 +05:30
Ranjeet Kumar Ranjan
0dc91ab41c Add Streamly.Data.Stream module in streamly-core 2022-08-19 17:10:05 +05:30
Harendra Kumar
5c5e7feada Suppress new warnings from ghc-9.2 2022-08-18 11:11:02 +05:30
Ranjeet Kumar Ranjan
18a226b9f0 Array.Foreign -> Array.Unboxed in tests and benchmarks & intenals
Co-authored-by: Ranjeet <ranjeet@composewell.com>
2022-08-17 15:09:42 +05:30
Harendra Kumar
cc3bbd76dc Use a macro definition for assertM
So that the error location is reported correctly by the compiler when
the assert is hit.
2022-08-15 02:00:24 +05:30
Ranjeet Kumar Ranjan
261a7e06fa Change warning options in streamly and streamly-core packages
Fix review comments
2022-08-12 11:08:00 +05:30
Harendra Kumar
98d3ea9d27 Add stream generation functions to Data.Stream 2022-08-09 01:07:40 +05:30
Ranjeet Kumar Ranjan
8fbc085ef4 Move Prelude.Serial benchmarks to Data.Stream 2022-08-06 16:43:53 +05:30
Ranjeet Kumar Ranjan
26b78c6e89 Deprecate Streamly.Data.Array.Foreign module
Rename it to Streamly.Data.Array.Unboxed
2022-08-06 00:38:23 +05:30
Ranjeet Kumar Ranjan
53cce5e7ac Implement Data.Stream.Top module 2022-08-06 00:32:10 +05:30
Harendra Kumar
1cd4379d01 Remove dependency on hashable/unordered-containers 2022-08-02 14:35:49 +05:30
Adithya Kumar
614c226eac Rename IORef.Prim to IORef.Unboxed 2022-08-01 10:38:33 +05:30
Adithya Kumar
4015d54128 Remove prim arrays and all related code 2022-07-31 02:43:44 +05:30
Adithya Kumar
3811e683ce Improve array combinators to work with unpinned arrays 2022-07-27 17:24:59 +05:30
Harendra Kumar
efa19570f8 Allow base-4.17, ghc-9.4
Increase benchmark memory for ghc-9.5
2022-07-18 12:48:01 +05:30
Adithya Kumar
6273643c2d Add benchmarks for unboxed ring array 2022-07-11 18:51:43 +05:30
Adithya Kumar
aaa279c9b2 Add tests for unboxed ring array 2022-07-11 18:51:43 +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
adc2e75b5d Abstract out Unboxing helpers and comment out IOVec code 2022-06-23 16:09:57 +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
Adithya Kumar
cbccb77777 Bump the version to the next major release target & run autoreconf 2022-05-25 15:10:16 +05:30
Adithya Kumar
a12f957454 Link the github and streamly-examples in the docs
- Add a github link in the user and developer docs
- Link streamly-examples under Tutorials and HowTo
2022-05-24 22:54:34 +05:30
Harendra Kumar
c0280c850c Add a str quasiquoter for quoting strings 2022-05-11 18:37:05 +05:30
Harendra Kumar
b7b3aa8d02 Rename benchmark driver exe to bench-runner
To keep it consistent with test-runner for test driver
2022-04-28 23:35:26 +05:30
Harendra Kumar
7d12c647f1 Remove shell versions of bench.sh and test.sh 2022-04-28 23:35:26 +05:30
Harendra Kumar
5435aa1b16 Use Haskell based test driver
Replace bin/test.sh with a Haskell implementation
2022-04-28 23:13:45 +05:30
Harendra Kumar
326bcda0d6 Refactor targets to be used in test driver as well
And some other cleanups.
2022-04-26 19:48:52 +05:30
Adithya Kumar
fd9379c1b9 Use the haskellified version of bench-report 2022-04-24 16:26:36 +05:30
Ranjeet Kumar Ranjan
149b2af54c Export Window module 2022-04-20 16:33:24 +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
cea637f697 Rename Explanation to Explanatory 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
72a0199c67 Move the README of benchmarks and tests into the developer docs 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
e32bccdffa Categorize documentation in a better way 2022-04-11 01:16:09 +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
e078bae64a Allow different types of Map in classify
IntMap and HashMap can provide better performance than Map.

Also, allow mutable cells in classify for better performance.
2022-03-26 01:32:51 +05:30
Ranjeet Kumar Ranjan
f95fcbd82f Add a module for sliding window folds
Moved some basic incremental folds from 'streamly-statistics" package.
2022-03-25 12:33:58 +05:30
Ranjeet Kumar Ranjan
6726613bca Remove the Sink module 2022-03-25 00:12:48 +05:30
Harendra Kumar
5ddfb45764 Split Serial module into Serial and WSerial 2022-03-24 12:55:08 +05:30
Ranjeet Kumar Ranjan
07bf70d5f8 Drop GHC 8.x to 8.2.x Support 2022-03-24 02:23:45 +05:30
Ranjeet Kumar Ranjan
7e82570e84 Remove 0.6.x or beofre Deprecated functions 2022-03-23 20:44:09 +05:30
Adithya Kumar
cbe6eb1dc8 Inline PreludeCommon into IsStream.Type 2022-03-10 23:48:10 +05:30
Adithya Kumar
fe8e57968a Merge PreludeCommon and Prelude into Common in the core package 2022-03-10 23:47:56 +05:30
Adithya Kumar
29ba5decc5 Extract streamly-core out of streamly 2022-03-10 01:25:49 +05:30