Pranay Sashank
5c018c7e45
Rename Data.Array.Storable.Foreign to Data.Array.Foreign.
...
Closes #854 .
2021-02-01 21:31:06 +05:30
Adithya Kumar
bbfe463f0a
Add Streamly.Internal.Data.Fold.Tee
2021-01-23 23:00:16 +05:30
Adithya Kumar
b9892e3119
Add docs regarding the eventual behaviour update of (<*>)
2021-01-23 23:00:16 +05:30
Adithya Kumar
5539d0ad35
Update Changelog regarding mapM and sequence deprecation
2021-01-16 17:48:06 +05:30
Harendra Kumar
e27494a0c3
Update changelog for changes since 0.7.2
2020-12-10 18:26:02 +00:00
pranaysashank
8061c97a76
Use monadic seed in monadic scanning combinators.
...
- The following functions are updated: scanlM, scanlM',
postscanlM, postscanlM', prescanlM'.
- Update Changelog.md.
2020-10-21 10:49:12 +05:30
pranaysashank
25f76d5524
Add new encoding/decoding routines.
...
- Add encodeUtf8_, encodeLatin1_, encodeUtf8', encodeLatin1',
decodeUtf8_, decodeUtf8', decodeUtf8Arrays_, decodeUtf8Arrays'.
- encodeLatin1, encodeUtf8 don't fail when they encounter
invalid characters. Their stricter variants encodeLatin1',
encodeUtf8' do.
- encodeUtf8_, encodeLatin1_ drop the invalid characters.
- decodeUtf8 replaces any invalid character encountered with the
Unicode replacement character where as decodeUtf8' fails.
- decodeUtf8Arrays doesn't fail on invalid characters anymore
it replaces them with the Unicode replacement character.
- Deprecate decodeUtf8Lax, encodeLatin1Lax, encodeUtf8Lax.
- Update Changelog.md.
2020-09-17 12:16:11 +05:30
pranaysashank
ad05792d0b
Deprecate Streamly module and move the exports to Streamly.Prelude.
...
- Deprecate and replace functions:
foldWith => concatFoldableWith
foldMapWith => concatMapFoldableWith
forEachWith => concatForFoldableWith
2020-09-09 20:56:24 +05:30
adithyaov
e218fb9d8f
Deprecate Streamly.Memory.Array
...
According to the new module structure, it should be Streamly.Data.Array.Storable.Foreign
2020-09-04 16:55:16 +05:30
adithyaov
7d008199aa
Deprecate Streamly.Data.Unicode.Stream
...
According to the new module structure, it should be Streamly.Unicode.Stream
2020-09-04 16:55:16 +05:30
adithyaov
086c80a67b
Record the Bug Fix in the Changelog.md
...
- Issue#369
- Preservation of monadic state across threads
2020-08-29 04:13:10 +05:30
Harendra Kumar
a54a1ae9d2
Fix atomicity issue when running a finalizer
...
The clearing of finalizer from GC hook and running the finalizing action must
be atomic wrt async exceptions.
2020-08-27 00:19:31 +05:30
Pranay Sashank
960def155f
Make the finalizer based exception handling routines the default.
...
- Change the handlers for both streams and unfolds.
2020-08-23 11:50:59 +05:30
Pranay Sashank
0a8d13d746
Make polymorphic semigroup ops wSerial, etc same fixity as <>.
...
- Update Changelog to reflect the change.
2020-08-22 13:03:25 +05:30
Pranay Sashank
d604512efe
Fix wrong change logged in Changelog.md.
2020-08-22 11:09:05 +05:30
pranaysashank
4b5278ef71
Update Changelog.
...
- Add "Drop support for GHC 7.10.3"
2020-08-14 12:25:51 +05:30
Ahmed Zaheer Dadarkar
9d653d06d3
Updated type signature of concatMapWith
to remove explicit forall.
...
- Do the same with `bindWith`, `concatMapBy`, `concatMapIterateWith`,
`concatMapTreeWith`.
- `concatMapLoopWith`,`concatMapTreeYieldLeavesWith` are not updated
in the same way as they necessarily need the combining function to be
polymorphic.
- Update Changelog to reflect this change.
2020-07-13 18:05:00 +05:30
Harendra Kumar
287c3a3dc5
Make minor cosmetic review changes for #571
2020-07-07 14:17:44 +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
Harendra Kumar
a4b51db2d6
update accept
and connect
behavior change
2020-05-12 06:19:41 +05:30
Pranay Sashank
ced5261081
Bump streamly to 0.7.2.
...
- Update Changelog, CONTRIBUTORS.md, streamly.cabal to 0.7.2.
2020-04-22 16:54:40 +05:30
Pranay Sashank
c733479128
Update Changelog to include latest bug fixes.
2020-04-22 16:54:38 +05:30
Pranay Sashank
3d88108701
Bump QuickCheck max bounds to < 2.15.
...
- Update Changelog to reflect the change.
2020-04-13 04:29:15 +05:30
pranaysashank
c75aed18f8
Add primitive build fix entry to Changelog.
...
Closes #469 .
2020-04-12 09:43:29 +05:30
Pranay Sashank
c989681ef3
Bump streamly to 0.7.1.
...
- Update Changelog, CONTRIBUTORS.md, streamly.cabal,
credits/COPYRIGHTS.md to 0.7.1.
2020-02-20 05:28:40 +05:30
Harendra Kumar
f660901523
Add note about fusion-plugin support
2020-02-12 19:07:08 +05:30
Harendra Kumar
3f5c79ea94
Fix scheduling of WAsync style stream
...
We were scheduling it in the same manner as Async, instead we have to
schedule the actions from the two streams in a round robin fashion.
Fixes #371
2020-01-20 19:03:48 +05:30
Harendra Kumar
a3c32bc716
Fix foldStreamSVar space leak
...
Use tail recursion in the worker loops. Run the work item under the saved
monadic state and restore the state after the work is done and before the next
work item is picked.
Benchmarks:
* asyncly/unfoldrM maxThreads 1
* wAsyncly/unfoldrM maxThreads 1
* aheadly/unfoldrM maxThreads 1
2020-01-19 14:19:16 +05:30
Harendra Kumar
c2b99edba7
update changelog for concurrent perf improvement
2020-01-08 18:07:53 +05:30
Pranay Sashank
57c2ddcc34
Strictify Fold accumulator in groupsOf & groupsOf2.
...
- Update Changelog.md to reflect the change in `chunksOf`.
2020-01-03 12:01:52 +05:30
Harendra Kumar
1d66e44094
update for TCP NoDelay and ReuseAddr change
2019-12-26 20:44:06 +05:30
Harendra Kumar
947d6cc1a8
Fix space leak in async combinator
...
We run the stream in a worker thread using captured monadic state from the
parent thread. The call to mrun caused memory to stack up becuase it is called
again and again and never returns. We need this call only once when a stream is
picked for execution from the work queue. We do not need to call mrun on every
yield. The call on yield is removed by this commit.
2019-12-26 10:56:32 +05:30
Harendra Kumar
fb622a6cf3
Add changelog entry for parallel
leak fix
2019-12-26 10:40:11 +05:30
Pranay Sashank
fa7541351a
Update Changelog to reflect changes in tap
.
...
- Change `rstState` to `adaptState` in CONTRIBUTING.md.
2019-12-17 13:39:04 +05:30
Brian Wignall
c0a93a4033
Fix some easy-to-make typos
2019-11-26 02:09:15 +05:30
Pranay Sashank
bafc5b3b76
Update Changelog.md
2019-11-21 02:29:27 +05:30
Pranay Sashank
a97e3f39fb
Fix bug in findIndices and add a regression test. Fixes #311 .
...
- Update Changelog.
2019-11-21 02:29:27 +05:30
Harendra Kumar
b7dd1b7297
Bump the version for release 0.7.0
2019-11-15 04:25:51 +05:30
Harendra Kumar
75b0bacc3e
Hold the foldWith etc. move to Prelude
2019-11-15 03:07:05 +05:30
Pranay Sashank
ad108f7bad
Update changelog.
2019-11-15 02:28:21 +05:30
Harendra Kumar
cce1c6ed5e
Add/expose Streamly.Data.Unfold module
2019-11-04 21:41:49 +05:30
Harendra Kumar
58d1d61afd
Use unfolds instead of streams for array reading
2019-10-15 00:40:15 +05:30
Harendra Kumar
1604254925
move files Streamly/Time/* to Streamly/Internal/Data
2019-09-25 17:17:48 +05:30
Harendra Kumar
f0f0c8bc14
Fix "thread blocked indefinitely in an MVar operation
...
The problem occurred because a thread was not sending a Stop message after
detecting that yield limit is over and killing all other threads.
2019-08-23 12:38:28 +05:30
Harendra Kumar
8f96100ab5
Merge pull request #258 from composewell/doc-rename
...
Update documentation and rename some combinators
2019-08-14 05:52:27 +05:30
Harendra Kumar
2c47c9aac5
add missing Streamly.Prelude combinators to changelog
2019-08-13 16:29:58 +05:30
Pranay Sashank
d26ab21364
Move Streamly.String to Streamly.Data.String.
2019-08-13 13:09:22 +05:30
Harendra Kumar
5d99c949ab
remove functions that have been moved to Internal module
2019-08-12 08:19:14 +05:30
Pranay Sashank
bda6a6415b
Refactor modules Mem.* ~> Memory.* and update references.
2019-08-06 04:31:23 +05:30
Harendra Kumar
3cdecba40c
Create a separate module for "Streams of Arrays"
2019-08-03 08:16:23 +05:30