Harendra Kumar
e249c4da2d
Use StreamD by default, expose StreamK as separate module
...
Basically remove depdency on GHC rewrite rules. The reason for
separating StreamD and StreamK instead of using rewrite rules:
* Separate types provide better reasoning for the programmer about
performance. Each type has its own pros and cons and the programmer
can choose the best one based on the use case.
* rewrite rules are fragile, led to broken performance in the past dues
to change in GHC.
* Rewrite rules lead to optimization problems, blocking fusion in some
cases, specifically when combining multiple operations e.g. (filter . drop).
* Rewrite rules lead to problems when calling a function recursively. For
example, the StreamD version of foldBreak cannot be used recursively when
wrapped in rewrite rules because each recursive call adds a roundtrip
conversion from D to K and back to D. We can use the StreamK versions of
these though because the rewrite rule gets eliminated in that case.
* If we have a unified module, we need two different versions of several
operations e.g. appendK and appendD, both are useful in different cases.
2023-02-06 22:09:26 +05:30
Harendra Kumar
108af63566
Expose some missing functions from Internal.Data.Fold
2023-02-05 05:45:43 +05:30
Ranjeet Ranjan
81bfdec224
Update packdiff and streamly-process version in cabal.project.* ( #2239 )
...
* Remove Data.Array.Stream benchmark (hanging)
2023-01-19 18:28:09 +05:30
Harendra Kumar
a05396c16f
Move Introduction.md to quick-overview.md
2023-01-19 13:55:44 +05:30
Harendra Kumar
a1d2e1f227
Move README to ProjectRelated docs
2023-01-19 13:55:44 +05:30
Harendra Kumar
92bb923caf
Rename getting-started to setup-and-usage
2023-01-19 13:55:44 +05:30
Ranjeet Ranjan
b4c007e839
Update Changelog.md ( #1913 )
...
* Update, reorgainze, move related things together, remove redundant stuff
Co-authored-by: Harendra Kumar <harendra@composewell.com>
2023-01-18 09:22:08 +05:30
Harendra Kumar
833c16a6d7
Add an overview, motivation for Haskell and streamly
2023-01-18 08:56:34 +05:30
Harendra Kumar
311cb23c5a
Update the compilation guide for new release
2023-01-18 08:55:41 +05:30
Harendra Kumar
11e1693953
Split README into README and tutorial, and update it
2023-01-18 08:55:41 +05:30
Ranjeet Ranjan
cd25c1438d
Improve Deprecation message ( #2235 )
2023-01-17 18:48:19 +05:30
Ranjeet Ranjan
75a174f3ea
Add benchmark for sepBy1 ( #2237 )
2023-01-17 17:41:34 +05:30
Ranjeet Ranjan
ab28951742
Update contributors' list ( #2231 )
2023-01-16 14:47:46 +05:30
Harendra Kumar
3c30d60db0
Update getting-started guide
2023-01-15 19:44:28 +05:30
Ranjeet Ranjan
944dbbac6e
Fix benchmark error in Data.Array.Stream ( #2230 )
2023-01-15 10:21:14 +05:30
Harendra Kumar
e23fed4ba1
Add reduceIterateBfs
2023-01-14 23:58:59 +05:30
Ranjeet Ranjan
96a8bd04d8
Fix use-unliftio flag ( #2218 )
2023-01-13 17:07:44 +05:30
Harendra Kumar
02ac6e4e77
Update the test and benchmark targets
2023-01-13 16:44:36 +05:30
Harendra Kumar
4390cbefbd
Cleanup benchmark list in benchmark regression CI
2023-01-13 16:44:36 +05:30
Harendra Kumar
dbf5b46f79
Add parMergeBy and parMergeByM
2023-01-13 16:44:36 +05:30
Harendra Kumar
f672e782ff
Cleanup comments in exposed concurrent module
2023-01-13 16:44:36 +05:30
Harendra Kumar
dabe66ceaa
Fix test and benchmarks for concurrent module changes
2023-01-13 16:44:36 +05:30
Harendra Kumar
9b0ce5c507
Rename combineWith to parTwo, remove special combine-two ops
2023-01-13 16:44:36 +05:30
Harendra Kumar
38c7672637
Name parList style combinators more explicitly
2023-01-13 16:44:36 +05:30
Harendra Kumar
21c25f81ba
Remove some obsolete ops from Concurrent module
2023-01-13 16:44:36 +05:30
Harendra Kumar
4969d04f13
Add cautions about Unbox type class usage
2023-01-13 16:24:04 +05:30
Harendra Kumar
61c4ea467e
Update the package descriptions in cabal file
2023-01-13 13:27:21 +05:30
Harendra Kumar
64e6809121
Expose arraysOf
2023-01-12 23:40:23 +05:30
Ranjeet Ranjan
33549ffa16
Upgrade package versions in cabal.project.packdiff ( #2224 )
2023-01-12 12:49:44 +05:30
Harendra Kumar
e5ced116ac
Use CPP, ScopedTypeVariables from default extensions
2023-01-12 08:11:39 +05:30
Harendra Kumar
631520b5a0
Add StandaloneDeriving to default extensions
2023-01-12 08:11:39 +05:30
Harendra Kumar
f56c8f2274
Remove unused UndecidableInstances pragma
2023-01-12 08:11:39 +05:30
Harendra Kumar
bd989811b0
Fix MkType module
...
* Fix build: use local def of singleton
* Fix invalid haddock comments, docspec
* Fix readInstance, Traversable instance
* Fix Read/Traversable/Applicative/MonadTrans/IO/Throw instances
* Disable MonadReader instance
* Fix deriving clause
* Fix hlint
2023-01-11 23:16:26 +05:30
Adithya Kumar
3a7b98284e
Add necessary instances to MkType
2023-01-11 23:16:26 +05:30
Harendra Kumar
17563f4641
Make some doc/doctest changes to MkType
2023-01-10 23:51:38 +05:30
Harendra Kumar
734d2cf874
Publish the Streamly.Data.Stream.MkType module
2023-01-10 23:51:38 +05:30
Harendra Kumar
9510828ae7
Rename TypeGen module to MkType
2023-01-10 23:51:38 +05:30
Harendra Kumar
282ed60dfb
Move the TypeGen module to streamly
2023-01-10 23:51:38 +05:30
Harendra Kumar
e34cd170d9
Refactor, update, document TypeGen module
...
* Rename mkZippingType, mkNestingType to mkZipType, mkCrossType
* To reduce imports when using it
* To use qualified import of Stream so that we do not depend on the
specific module name, thereby allowing renaming of modules.
* Update docs
2023-01-10 23:51:38 +05:30
Harendra Kumar
3c3ec6de48
Make minor refactor/cleanup changes to array code
...
* Use defaultChunkSize in tests from Streamly.Internal.System.IO module
2023-01-10 23:45:41 +05:30
Adithya Kumar
96a7c99708
Use Proxy type in the sizeOf method of Unbox
2023-01-09 13:05:06 +05:30
Adithya Kumar
5884b1ee09
Remove phantom parameter from MutableByteArray
2023-01-08 22:39:21 +05:30
Adithya Kumar
f961715f5e
Change the argument order of functions in Unbox type class
2023-01-08 21:20:48 +05:30
Ranjeet Ranjan
deb16f8670
Add test cases for Unbox Generic derived instances ( #2207 )
...
Co-authored-by: Harendra Kumar <harendra@composewell.com>
2023-01-07 19:05:30 +05:30
Harendra Kumar
8adf0c3c3d
Update the docs and sync with current version
2023-01-07 14:43:53 +05:30
Adithya Kumar
43afc266bb
Update Introduction in user docs
2023-01-07 14:43:53 +05:30
Adithya Kumar
99d798a4dd
Update FAQ in user docs
2023-01-07 14:43:53 +05:30
Ranjeet Ranjan
030499eb7e
Fix dev flag build, test, benchmarks issues ( #2206 )
...
* Fix dev flag build, test, benchmarks issues
* Add no-charts flag when compiling bench-report
Co-authored-by: Harendra Kumar <harendra@composewell.com>
2023-01-07 14:32:31 +05:30
Harendra Kumar
be55a92ae8
Update the Unbox docs about generic deriving
2023-01-07 11:08:50 +05:30
Harendra Kumar
82a4167fde
Add default implementations in the Unbox type class
2023-01-07 11:08:50 +05:30