Commit Graph

2537 Commits

Author SHA1 Message Date
Harendra Kumar
e95e149971 Update description and tested-with 2021-05-23 18:45:49 +05:30
Harendra Kumar
7e796e3f96 Use module name "Stream" instead of "S" 2021-05-23 17:15:01 +05:30
Harendra Kumar
a231fe54d2 Move "installing and using" sec. at the beginning
* Add a separate "Documentation" section
2021-05-23 17:15:01 +05:30
Harendra Kumar
cf63b4edd4 Fix README and Overview.md
* Address review comments
* Remove redundant parts in Overview.md that overlap with README
2021-05-23 17:14:10 +05:30
Harendra Kumar
df676c6603 Move old README to docs/Overview.md 2021-05-23 17:10:31 +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
03cf686ca7 Export some pre-release array APIs
* getIndex
* casting ops
* writeLastN
* readRev
2021-04-27 13:37:56 +05:30
Harendra Kumar
18b6ef8b19 Add alternate implementation examples
These are internal APIs, users can use the impls from the examples
instead.
2021-04-27 13:37:56 +05:30
Harendra Kumar
5a7e3efeac Rename handle based from* APIs to put* 2021-04-27 13:37:56 +05:30
Harendra Kumar
a7ba0701ec Add a hack to find "chart" executable
We can always use the chart executable built by any compiler version.
Sometimes the chart executable is not buildable by newer compiler
versions, in that case we can build it using another compiler and use
that.
2021-04-26 12:21:10 +05:30
Ranjeet Kumar Ranjan
f68d334e89 Refactor encodeUtf8 and encodeUtf8' 2021-04-26 11:30:09 +05:30
Harendra Kumar
a1cb1f5324 Refactor Unicode.Stream module
Pure refactor:

* Rearrange code in coherent sections
* Rename UTF8 decode states
2021-04-25 16:00:36 +05:30
Harendra Kumar
45b997f0b0 Document CI requirements 2021-04-25 15:57:07 +05:30
Harendra Kumar
6132eb3acb Split stdio ops into a Console.Stdio module
Change the FileSystem.Handle from* APIs to put*

Mutable write APIs would use a "put" prefix to make the name more intuitive.
2021-04-25 15:53:38 +05:30
Harendra Kumar
0cfc42394d Add encodeStrings, remove writeStrings
Fix some documentation and rename stripStart to stripHead.

Implement encodeObject(s) for encodeStrings

encodeObjects can be used to encode streams of any container type in general.
2021-04-25 15:53:38 +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
Harendra Kumar
ae1ffbf520 Export forSocketM, rename transformBytesWith 2021-04-24 16:17:39 +05:30
Harendra Kumar
22a42d081a Expose readChunk/writeChunk/writeChunksWithBufferOf 2021-04-24 16:17:39 +05:30
Harendra Kumar
dc647f4a4e Change the argument order of intercalate and interpose 2021-04-24 16:17:39 +05:30
Harendra Kumar
3d7b270cb9 Add comments about the performance of fromStream 2021-04-24 16:16:12 +05:30
Harendra Kumar
a75c178599 Expose rollinghash and intercalate 2021-04-24 16:16:12 +05:30
Harendra Kumar
f64dd78449 Fix benchmark names, cleanup imports, fix hlint
Refactor only.
2021-04-24 13:36:28 +05:30
Harendra Kumar
fb1ee2e965 Simplify fromParser and take 2021-04-22 19:26:47 +05:30
Harendra Kumar
102d2fb7b2 Add fromParser and fold_ to array stream folds 2021-04-20 17:14:54 +05:30
Harendra Kumar
206e353659 Add array streams folds 2021-04-20 17:14:54 +05:30
Adithya Kumar
cd916f54bb Move array stream bench/tests to separate modules 2021-04-19 19:38:14 +05:30
Harendra Kumar
e0471f2872 Make runStep eager
Lazy "initial" in the previous runStep impl lead to writing to handle
after it was closed.
2021-04-19 13:55:03 +05:30
Ranjeet Kumar Ranjan
ac215ad43f Rename serially etc. to fromSerial etc. #1029 2021-04-16 00:20:54 +05:30
Harendra Kumar
9cdb82c1aa Use Continue instead of Partial in noErrorUnsafeSplitWith 2021-04-15 17:44:58 +05:30
Harendra Kumar
05b2d530ef Update comment about alternative nest level 2021-04-15 17:14:43 +05:30
Harendra Kumar
ec8ab6f441 Fix two bugs in _parse
1) It was always using the full backtrack buffer irrespective of whther
   it was needed or not.
2) It was not reversing the backtrack buffer
2021-04-15 17:14:43 +05:30
Harendra Kumar
0bfa00bb66 Fix heap overflow due to limit-build-mem issue 2021-04-15 02:02:57 +05:30
Ranjeet Kumar Ranjan
9606875dac Rename foldl1 to foldl1' 2021-04-12 13:01:24 +05:30
Ranjeet Kumar Ranjan
f203fa8c5d Rename fold constructors in Data.Fold #1016 2021-04-12 13:01:24 +05:30
Ranjeet Kumar Ranjan
095409b111 Remove mkT from Tee module 2021-04-07 14:06:49 +05:30
Ranjeet Kumar Ranjan
138d519601 concatPairsWith benchmarks #984 2021-04-07 14:06:34 +05:30
Pranay Sashank
10b03bf59f Fix tests under dev flag. 2021-04-06 17:11:59 +05:30
Pranay Sashank
9fc2c7ec15 Fix formatting in MAINTAINING.md. 2021-04-06 13:52:47 +05:30
Pranay Sashank
bae3ea6f40 Update contributors list. 2021-04-06 13:52:47 +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
Adithya Kumar
d3cc553ef9 Add a test case for Mut.unsafeWriteIndex 2021-04-06 02:34:29 +05:30
Adithya Kumar
7aa0e0db4b Add unsafeWriteIndex for Array.Foreign 2021-04-06 02:34:29 +05:30
Adithya Kumar
833ad1f591 Add a basic array slicing combinator 2021-04-05 23:50:38 +05:30
Pranay Sashank
9b98f41c6b Use lts 16.31, 17.8 in github CI. 2021-04-05 14:19:58 +05:30
endgame
e69096f75d Fix markdown 2021-04-05 07:56:54 +05:30
Harendra Kumar
59de28719d Update intro in cabal file 2021-04-03 16:02:24 +05:30
Harendra Kumar
549d7fd492 Add lifting inner monad section
Expose liftInner, runStateT, runReaderT
2021-04-02 21:35:32 +05:30
Harendra Kumar
043f134834 Add "See also" for pre-release modules 2021-04-02 18:46:12 +05:30
Harendra Kumar
392b897315 Rearrange the reducing section 2021-04-02 18:32:16 +05:30