Adithya Kumar
0aacf72d18
Remove duplicate combinators in internal Stream.Zip
2022-10-17 10:54:25 +05:30
Ranjeet Ranjan
8f602ac644
Expose parseMany ( #1956 )
2022-10-15 17:05:22 +05:30
Harendra Kumar
36953a1290
Fix TypeOperator and strictness warnings for GHC 9.4
2022-10-13 20:22:01 +05:30
Ranjeet Ranjan
36410d9ff6
Expose Streamly.Data.Stream.Zip from streamly-core package ( #1945 )
2022-10-13 19:10:46 +05:30
Ranjeet Ranjan
8d8e5a0c30
Implement timestamp* and timeIndex* operations ( #1944 )
2022-10-13 15:46:40 +05:30
Harendra Kumar
2f6f9a2d4e
Edit documentation and comments in concurrent modules
...
* Fix typo in StreamK
* Fix typo in the Dispatcher module
* Edit comments in Interleave module
* Clarify the documentation of "rate" (Async)
2022-10-10 16:29:28 +05:30
Harendra Kumar
1f844ea83d
Remove MonadAsync constraint from exception ops
...
It bundles an unnecessary MonadThrow in some cases which also makes us wonder
what requires MonadThrow.
2022-10-07 20:06:08 +05:30
Ranjeet Ranjan
f390e53fca
Change ParserD.manyTill signature, move Fold at end ( #1900 )
2022-10-07 20:04:31 +05:30
Ranjeet Ranjan
da36a011f1
Change Parser.sepBy signature, move Fold at end ( #1905 )
2022-10-07 19:57:34 +05:30
Ranjeet Ranjan
666dbb0bdb
Change the signature of Parser.sequence, move fold at end ( #1906 )
2022-10-07 13:53:17 +05:30
Ranjeet Ranjan
61eb3f4dfa
Change the signature of Parser.deintercalate, move fold at end ( #1904 )
2022-10-07 13:51:50 +05:30
Adithya Kumar
ba01fcd958
Rename and move unboxed array APIs
...
Added Unboxed.newUnpinnedBytes and Mut.Type.newUnpinned
Array.Unboxed.Mut.Type.nilArrayContents -> Unboxed.nil
Array.Unboxed.Mut.Type.newAlignedArrayContents -> Unboxed.newAlignedPinnedBytes
Mut.Type:
newArray -> newPinned
newArrayAligned -> newAlignedPinned
Unboxed:
newUnpinnedArrayContents -> newUnpinnedBytes
2022-10-07 11:37:50 +05:30
Adithya Kumar
2f9281d0ab
Add instances of Unbox for various types
2022-10-06 21:00:50 +05:30
Adithya Kumar
ce8fa28d49
Fix a small naming error in Stream.Zip
2022-10-06 21:00:27 +05:30
Adithya Kumar
6ebf92903e
Add simple documentation to APIs in Unicode.Parser
2022-10-06 15:17:46 +05:30
Adithya Kumar
6e021ceb18
Change the signature of replicateM
2022-10-06 15:17:46 +05:30
Adithya Kumar
fa417eb03b
Add matchBy in Data.Parser and benchmarks for matchBy
2022-10-06 15:10:50 +05:30
Ranjeet Ranjan
05eb489fd3
Rename head to one ( #1887 )
2022-10-04 17:00:29 +05:30
Ranjeet Ranjan
a47303eb17
Expose Streamly.Unicode.Parser ( #1878 )
...
Co-authored-by: Adithya Kumar <adithya@composewell.com>
2022-10-04 16:53:24 +05:30
Ranjeet Ranjan
89255e31cd
Add module Console.Stdio in streamly-core.cabal ( #1888 )
2022-10-03 18:31:08 +05:30
Ranjeet Ranjan
4b3c5d6d02
Expose Unicode.String ( #1879 )
2022-10-03 18:27:50 +05:30
Ranjeet Ranjan
4ab5ba2ce9
Rename *.Foreign to *.Unboxed modules in streamly-core ( #1877 )
2022-10-03 18:24:31 +05:30
Ranjeet Ranjan
249efda55e
Move Streamly.Data.Array module to streamly-core ( #1881 )
2022-10-01 00:33:41 +05:30
Ranjeet Kumar Ranjan
61af9fc739
Move Streamly.Internal.Data.Binary.Decode to streamly-core
2022-10-01 00:30:25 +05:30
Adithya Kumar
d84f82d973
Remove redundant GHC 8.8 CPP conditional
2022-09-30 15:28:24 +05:30
Ranjeet Kumar Ranjan
3a90efbd87
Add rmapM to Parser
2022-09-30 13:09:46 +05:30
Ranjeet Kumar Ranjan
88334a8190
Move Console.Stdio to streamly-core
...
And some formatting changes.
2022-09-29 22:50:34 +05:30
Ranjeet Kumar Ranjan
f609af1d01
Move Streamly.FileSystem.Handle to streamly-core
...
And some formatting changes.
2022-09-29 15:28:35 +05:30
Ranjeet Kumar Ranjan
182edfd74f
Move Streamly.Unicode to streamly-core
2022-09-28 19:27:29 +05:30
Adithya Kumar
09ed99de1f
Remove support for GHC 8.4.*
2022-09-28 17:50:58 +05:30
Ranjeet Ranjan
aef0a2e793
Move Array.Stream.Foreign to streamly-core ( #1863 )
2022-09-27 13:38:12 +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
Harendra Kumar
d33bb110ab
Move common idioms from Generate to Data.Stream
2022-09-20 22:18:20 +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 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
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
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
Harendra Kumar
21b6ed5ac9
Remove Instances.hs from streamly-core
2022-08-27 14:02:23 +05:30
Harendra Kumar
b8a17190a8
Implement ZipStream using Data.Stream ( #1811 )
2022-08-25 23:57:42 +05:30
Harendra Kumar
6925dd06a1
Add interleave op to Data.Stream ( #1810 )
2022-08-25 17:53:52 +05:30
Ranjeet Ranjan
6e77cdbe24
Move SmallArray to dev flag ( #1783 )
2022-08-25 15:52:41 +05:30
Francesco Gazzetta
6122ec4950
core: add assert.hs to extra-source-files
2022-08-25 10:34:05 +05:30