Harendra Kumar
56e1807742
Fix markup
2021-06-03 17:16:15 +05:30
Harendra Kumar
28e17ee82e
Fix a perf issue in iterate/iterateM
...
It was taking O(n) space, now it takes O(1)
2021-06-02 22:18:00 +05:30
Harendra Kumar
b99b8b4ac7
Complete, edit and format changelog for 0.8.0
2021-06-02 18:12:39 +05:30
Pranay Sashank
70faf014ca
Rename Streamly.Prelude.yieldM to fromEffect.
...
- Deprecate yieldM.
2021-05-29 02:05:01 +05:30
Pranay Sashank
4dfc6bf9ee
Rename Streamly.Prelude.yield to fromPure.
...
- Deprecate yield.
2021-05-29 01:22:02 +05:30
Harendra Kumar
973e563d84
Update the README
...
Remove all the descriptive stuff and use example driven flow.
2021-05-20 10:53:18 +05:30
Harendra Kumar
99f676aa77
Add newly exported functions to changelog
2021-04-25 15:50:51 +05:30
Harendra Kumar
5614d99cad
Expose the Fold.Tee module for general use
2021-04-25 15:40:23 +05:30
Ranjeet Kumar Ranjan
ac215ad43f
Rename serially etc. to fromSerial etc. #1029
2021-04-16 00:20:54 +05:30
Adithya Kumar
1ddcfc4634
Fix zipWith(M) to work concurrently according to the stream type
...
https://github.com/composewell/streamly/issues/158
2021-04-06 02:34:54 +05:30
Harendra Kumar
549d7fd492
Add lifting inner monad section
...
Expose liftInner, runStateT, runReaderT
2021-04-02 21:35:32 +05:30
Harendra Kumar
7a1463d0a2
Add overall docs for unfold module
...
Also remove some exports which may not be required for using unfolds
with streams.
2021-03-26 20:27:56 +05:30
Harendra Kumar
82c177a554
Update changelog for unfoldMany
2021-03-22 19:23:21 +05:30
Pranay Sashank
ee691b6c89
Add Changelog for 0.7.3.
2021-03-18 13:50:51 +05:30
Harendra Kumar
3b1a26cee5
Update Fold module docs and expose some APIs
2021-03-16 01:46:51 +05:30
Harendra Kumar
e9a0e7c118
Move rmapM to Fold/Types.hs
2021-03-10 19:29:12 +05:30
Adithya Kumar
171907e2b3
Remove Applicative instance of Fold
2021-03-05 09:22:50 +05:30
Adithya Kumar
9231d2d67c
Release teeWith
2021-03-05 09:22:50 +05:30
Pranay Sashank
352161ab2c
Add release dates to Changelog.
2021-02-02 12:24:42 +05:30
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