Commit Graph

34 Commits

Author SHA1 Message Date
Harendra Kumar
a067d53632 Fix hlint issues in benchmarks 2023-12-21 17:17:52 +05:30
Harendra Kumar
ce86302f08 Fix hlint issues in tests 2023-12-21 17:17:52 +05:30
Harendra Kumar
86ad39afeb Fix hlint issues in streamly package 2023-12-21 17:17:52 +05:30
Ranjeet Ranjan
9bf458f682
Merge Data.Parser.ParserD test cases to Data.Parser (#2458)
Co-authored-by: Harendra Kumar <harendra@composewell.com>
2023-08-02 15:54:24 +05:30
Ranjeet Kumar Ranjan
8629a0e806 Fix test cases for StreamD/StreamK split up 2023-02-06 22:09:46 +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
Ranjeet Kumar Ranjan
182edfd74f Move Streamly.Unicode to streamly-core 2022-09-28 19:27:29 +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
6f68b50d18 Fix hlint in multiple streamly-core files 2022-08-10 19:00:24 +05:30
Harendra Kumar
dde88b8b00 Fix hlint error on ParserD/Type 2022-08-10 13:25:23 +05:30
Harendra Kumar
07eb3038f5 Enable hlint on streamly-core package
Remove non-existing files from .hlint.ignore
Add streamly-core files that are hlint clean to .hlint.ignore
2022-08-06 23:16:43 +05:30
adithyaov
9c04f40999 Completely remove the unclean common array test code 2021-12-17 17:43:23 +05:30
Adithya Kumar
bc5617fc5c Ignore hlint on benchmark/Streamly/Benchmark/Prelude/ZipSerial.hs 2021-11-23 18:42:48 +05:30
Harendra Kumar
0548e36d51 Rename Transformation1 benchmark module
to Transformation
2021-10-12 20:46:49 +05:30
Harendra Kumar
d28e2313f1 Use Applicative instead of Monad where possible
Only refactoring, no functional change.
In Unfold, StreamD and StreamK.
Also fix a few hlint issues.
2021-09-29 23:09:47 +05:30
Harendra Kumar
68317a4a41 Fix/enhance benchmarks for concatPairsWith
* Add a benchmark for mergeByMFused
* Move interleaving benchmarks to WSerial module
* Rename some wserial benchmarks
* Add a Merge module for mergeBy/sorting benchmarks
2021-09-28 16:59:29 +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
Sanchayan Maity
bc39dfea9d Cleanup hlint warnings 2021-09-12 10:16:50 +05:30
Harendra Kumar
f64dd78449 Fix benchmark names, cleanup imports, fix hlint
Refactor only.
2021-04-24 13:36:28 +05:30
Ranjeet Kumar Ranjan
87ebad51cb Rename Types.hs modules to Type.hs 2021-03-11 15:12:08 +05:30
Pranay Sashank
5c018c7e45 Rename Data.Array.Storable.Foreign to Data.Array.Foreign.
Closes #854.
2021-02-01 21:31:06 +05:30
Harendra Kumar
a0d3f83c31 Fix hlint suggestions for Enumeration module 2021-01-18 12:48:35 +05:30
Harendra Kumar
e7ebd59080 Refactor and cleanup IsStream and StreamD
This commit has no functionality changes whatsoever. It is a pure
reorganization of existing code. Not a single line in any function
should have changed.

* Push down all functions from IsStream.hs to a common module below
* Each submodule is now complete in itself i.e. exports all functions
  that belong to that module.
* A few functions had to be moved around to classify them in the right
  modules. Each submodule has a crisp definition.
* Further break down "Transform" module to create Nesting/Lift modules
  under IsStream
* Create "Lift" module under StreamD as well, both IsStream and StreamD
  have the same structure now.
* Rearrange exports to properly organize them in clearly defined
  categories.
* Rearrange functions to reflect the export order or to bring them close
  to other similar functions.
2021-01-08 02:12:47 +05:30
Pranay Sashank
d216358dc1 Add StreamD modules to hlint ignore file. 2021-01-08 02:05:37 +05:30
Harendra Kumar
c3b506b68b Refactor, cleanup, hlint - fold and handle tests 2021-01-04 01:26:39 +05:30
Harendra Kumar
d6771a2807 Enable hlint for tests and benchmarks 2020-12-31 01:12:50 +05:30
adithyaov
d3325c60f6 Rename Streamly.Internal.Data.Unicode.Stream
According to the new module structure, it should be Streamly.Internal.Unicode.Stream
2020-09-04 16:55:16 +05:30
pranaysashank
1e5192145b Rename Internal.Mutable.Prim.Var to Internal.Data.IORef.Prim.
- Rename function fromPrimVar to fromPrimIORef.
2020-08-26 13:41:27 +05:30
adithyaov
4d0631a0c6 Add Data.Array.Prim.Pinned and Data.Array.Prim
Respect the new module structure for Internal files
2020-07-21 09:13:31 +05:30
Sanchayan Maity
1100c23999 Clean up hlint warnings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-11 17:53:59 +05:30
pranaysashank
202f674462 Change the signature of foldlM' to use a monadic seed.
- Also change usages of foldlM' in tests and benchmarks.
2020-07-07 14:17:44 +05:30
Sanchayan Maity
b5cf9dd9a7 Streamly: Internal: Data: Clean up hlint warnings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-06 01:37:07 +05:30
Harendra Kumar
df553b1d5b fix hlint warnings
and remove fixed files from .hlint.ignore
2020-05-15 10:18:59 +05:30
Harendra Kumar
8676548f73 use .hlint.ignore file to ignore hlint
On the rest of the files CI build would fail if hlint fails
2020-05-11 10:13:00 +05:30