Commit Graph

132 Commits

Author SHA1 Message Date
Harendra Kumar
517c3b7a23 Implement a 'Pipe' type 2019-06-07 09:34:23 +05:30
Harendra Kumar
22ccf96a17 Add withSocket, add networking examples to cabal file 2019-05-31 15:01:14 +05:30
Harendra Kumar
81d8c27b31 Add the Network.Client module 2019-05-31 14:06:58 +05:30
Harendra Kumar
a2e76766c3 Split the server combinators in a separate module 2019-05-31 12:43:26 +05:30
Harendra Kumar
fc6d77a025 Fix a performance issue with File.read
We were using bracket on a loop which iterates very frequently. Instead use it
on an outer loop which is much leass frequent.

Also add FileIO.hs to test drive the performance of FileIO APIs.
2019-05-31 09:49:32 +05:30
Harendra Kumar
e19003266d rename FileIO.hs example file to HandleIO.hs 2019-05-31 09:46:53 +05:30
Harendra Kumar
9e2e7650e0 Add file path based APIs to read/write/append to files 2019-05-30 11:39:42 +05:30
Harendra Kumar
606fe9de74 rename FileSystem.File module to FileSystem.Handle 2019-05-30 08:31:24 +05:30
Harendra Kumar
0663aebe55 Add char8 string encoding/decoding routines 2019-05-30 00:19:30 +05:30
Harendra Kumar
fd3d4e52ac Fix GHC-7.10 build 2019-05-28 01:34:22 +05:30
Harendra Kumar
1949eb90af Concurrent concatMap, foldr/build fusion, benchmarks
* Implement a stream flavor specific (concurrent/wSerial etc.) concatMap
  (concatMapBy). Now concatMap has the same capabilities that the monad bind of
  different streams has. In fact the monad bind is implemented using concatMap

* Use foldr/build fusion for concatMap (currently disabled) and for map/fmap
  and mapM (enabled)

* Add benchmarks for bind/concatMap performance
2019-05-27 23:29:21 +05:30
Harendra Kumar
7a232eb3c7 fix network module version 2019-05-27 07:48:59 +05:30
Harendra Kumar
43a6e751e2 Add socket IO API with examples 2019-05-27 07:03:15 +05:30
Harendra Kumar
25dacda03b Add file-io example 2019-05-22 07:08:34 +05:30
Harendra Kumar
9178cf04e4 Update doc, add some unimplemented APIs
Add groupScan and sliding window buffer based APIs, commented and unimplemented.
2019-05-22 03:51:35 +05:30
Harendra Kumar
c307cee27b Add support for grouping sessions together 2019-05-21 04:37:10 +05:30
Harendra Kumar
e9267abeed Add has-llvm flag to build with llvm backend 2019-05-16 06:51:23 +05:30
Harendra Kumar
8bcbc77e62 rename Streamly.Array to Streamly.Mem.Array 2019-05-15 20:41:45 +05:30
Harendra Kumar
38c5c8872c Add File IO support 2019-05-15 17:54:12 +05:30
Harendra Kumar
dba4b4abd2 Add transformer dep for ghc 7.10 build 2019-05-13 12:21:16 +05:30
Harendra Kumar
5240fe541f add array test cases 2019-05-13 12:21:16 +05:30
Harendra Kumar
fd7bd713ec Add "Streamly.Fold" module 2019-05-13 12:21:16 +05:30
Harendra Kumar
36c4c4ca7b Add Streamly.Array module
* Supports fixed size immutable arrays
* See the module documentations for details.
2019-05-13 12:21:16 +05:30
Harendra Kumar
4a87adeb35 bump minor version 2019-03-28 01:13:46 +05:30
Harendra Kumar
130ffe99fc update GHC versions in ci tests and cabal file 2019-03-27 23:55:33 +05:30
Harendra Kumar
99e9ae5fe4 udpate quickcheck version bound for stackage 2019-03-27 23:49:23 +05:30
Harendra Kumar
dffb57fee0 Add "no-charts" build option
In a build with the "dev" flag we build charting executable. However, "Charts"
package is a heavy dependency, takes lot of time to build and is not often up
to date with newer compilers making the cabal new-build fail. With this commit
we can use "no-charts" flag to disable charting to let the build proceed with
the "dev" flag.
2019-03-20 15:37:54 +05:30
Mariusz Ryndzionek
4980965634 Added '-Wall' flag to all the examples 2019-03-03 13:44:07 +01:00
Harendra Kumar
108300e0c7 Remove the dependency on the time package
We now have a builtin clock access and time arithmetic
2019-01-11 16:12:59 +05:30
Harendra Kumar
c86b6734f5 Add GHCJS support 2019-01-11 16:04:46 +05:30
Harendra Kumar
cbff63f1cc Put atomic primitives in a separate module
Support atomic primitives (stubs) for ghcjs backend (single processor)
2019-01-11 05:54:28 +05:30
Harendra Kumar
d22a24b12f Replace "clock" with time
Implements convenient conversions between units and uses different
representations for Absolute and Relative time. We depend on "time" only yo get
system time, which too we can replace in future.
2019-01-08 20:07:42 +05:30
Harendra Kumar
97035c5c0b Fix GHC-8.6 build
Fix build for ghc-8.0.2

fix sdl install in CI
2018-12-31 02:52:24 +05:30
Harendra Kumar
f44f56ea20 bump version to 0.6.0 2018-12-31 01:05:40 +05:30
Harendra Kumar
62a3af1fc6 disable pure stream test cases 2018-12-31 00:56:57 +05:30
Harendra Kumar
5708ef62e4 update GHC/cabal versions 2018-12-31 00:47:49 +05:30
Harendra Kumar
d95c8c1218 hide List, String and Enumeration modules
These modules do not yet have a stable API so do not expose them yet.
2018-12-30 22:13:57 +05:30
Harendra Kumar
bcd787e710 Move enumeration functions in a separate module 2018-12-29 16:24:26 +05:30
Harendra Kumar
a30ef3eef9 Add a nano benchmark for unfoldr, fix dev benchmarks 2018-12-27 00:52:33 +05:30
Harendra Kumar
57fad213a0 Rename the StreamK and StreamD Type modules 2018-12-26 17:07:24 +05:30
Harendra Kumar
183325ec73 factor out the StreamK type in a separate file 2018-12-10 23:52:01 +05:30
Harendra Kumar
e08ff863f6 Move the StreamD Type in a separate module 2018-12-10 22:55:08 +05:30
Harendra Kumar
0839d4f6f1 Add the ZipList type and more tests for pure lists 2018-11-19 08:55:20 +05:30
Harendra Kumar
ee0c73b22c Add List and String types 2018-11-16 14:39:26 +05:30
Harendra Kumar
c28043f48a Add pure stream (list) instances
Pure streams are streams with Identity as the base monad.
Added Eq/Ord/Read/Show/IsString/IsList instances for pure streams.
2018-11-16 14:39:26 +05:30
Harendra Kumar
adf667a5ea use -fspec-constr-recursive=10 flag for benchmarks 2018-11-06 06:43:43 +05:30
Harendra Kumar
3d79168e4b Add isolated benchmarks to investigate special cases 2018-11-06 04:36:41 +05:30
Harendra Kumar
bb56f1757e refactor stream level combinators in another module 2018-11-05 16:34:40 +05:30
Harendra Kumar
c7666a7caa
Merge pull request #112 from mgsloan/documentation-adjustments
Documentation adjustments
2018-11-02 03:01:17 +05:30
Michael Sloan
c0bcda8c12 Spelling fixes + other misc tutorial adjustments 2018-11-01 14:26:43 -07:00