Commit Graph

1759 Commits

Author SHA1 Message Date
adithyaov
e7df8acee3 Merge all the base* executables 2020-06-07 01:09:26 +05:30
adithyaov
0d66526074 Add a standard behaviour to Chart.hs 2020-06-07 01:09:26 +05:30
adithyaov
9abd8b84b6 Merge all the Serial/* benchmarks into Serial.hs 2020-06-07 01:09:26 +05:30
Sanchayan Maity
b5cf9dd9a7 Streamly: Internal: Data: Clean up hlint warnings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-06-06 01:37:07 +05:30
Pranay Sashank
96f01fd134 Move a job to github from travis. 2020-06-05 00:09:13 +05:30
Pranay Sashank
47766eb613 Add coverage build to travis. 2020-06-05 00:09:13 +05:30
Pranay Sashank
c5696bd4c6 Do a normal build on 8.2.2 instead of coverage build. 2020-06-05 00:09:11 +05:30
Harendra Kumar
b90107f15b Fix build for older versions of GHC 2020-06-03 23:30:04 +05:30
Harendra Kumar
f00b5711d5 Add missing files to extra-source-files 2020-06-03 23:30:04 +05:30
Harendra Kumar
f830c1a987 Add Split example to cabal file 2020-06-03 23:30:04 +05:30
Harendra Kumar
2c0f829e35 Use streamly clock instead of "clock" pkg 2020-06-03 23:30:04 +05:30
Harendra Kumar
1691aa3ed1 Move rate test to examples 2020-06-03 23:30:04 +05:30
Harendra Kumar
48b21f731b Fix exit code issue in packcheck 2020-06-03 23:30:04 +05:30
Pranay Sashank
959fcc7eec Fix Parser.eqBy. 2020-06-02 19:23:22 +05:30
Pranay Sashank
12ca6eeba5 Fix sliceSepByMax. 2020-06-02 18:03:43 +05:30
Harendra Kumar
df6d8e0b04 Make changes to unfolds from stream
* Add fromStreamK
* fromStream: signature change, use fromStreamK as fromStreamD has very bad
  performance characterstics.
* Add INLINEs to fromStream
* Remove fromStream1 and fromStream2 as they can be expressed trivially in
  terms of fromStream and lmap.
2020-06-02 11:20:38 +05:30
Harendra Kumar
01fa925af3 rename mconcatTo to sconcat 2020-05-31 01:46:01 +05:30
Harendra Kumar
2e5124fd8b Always use a cabal sandbox
* Using `cabal install` is fraught with problems
2020-05-30 00:10:12 +05:30
Harendra Kumar
ef9a671c67 Create arrays from Addr# (unboxed string literals) 2020-05-29 23:48:34 +05:30
Harendra Kumar
3e22f1bae0 flush sessions when classifySessionsOf ends
Earlier the sessions that were incomplete and in the hash were dropped when the
stream ended.
2020-05-29 17:08:39 +05:30
Harendra Kumar
07efcbd671 Add benchmark for classifySessionsOf 2020-05-28 19:16:01 +05:30
Harendra Kumar
b52ed84a33 Make classifySessionsOf terminate
It was running forever as the timer stream never terminated.
2020-05-28 19:14:56 +05:30
Harendra Kumar
602539f613 Add/change some time/interspersing combinators
Add: intersperseSuffix_, delay, timeIndexed
Change the APIs: times, absTimes, relTimes, timestamped

The new APIs have a default clock granularity of 10 ms.
2020-05-28 16:26:59 +05:30
Harendra Kumar
e511962625 Fix conversion of MicroSecond64 and MilliSecond64 2020-05-28 10:07:41 +05:30
Harendra Kumar
7013f3a5e4 Fix delayPost, add more interspersing combinators
delayPost was actually behaving like delayPre, fixed it.
Added: trace_, intersperseM_, interspersePrefix_, delayPre
2020-05-27 19:26:26 +05:30
Harendra Kumar
7f9d4a4210 Add some time related combinators
add: times, relTimes, timestamped
unimplemented skeletons: durations, ticks, timeout

Changes to the original currentTime combinator: remove delay from the first
event, cap the granularity to 1 ms to guarantee reasonable cpu usage.
2020-05-27 12:21:54 +05:30
Pranay Sashank
9e6d245a3e Remove extraneous file Streamly.Examples 2020-05-18 10:48:45 +05:30
Ahmed Zaheer Dadarkar
64e8b3801a updated definition of parseK to use throwM instead of error 2020-05-16 14:30:56 +05:30
Harendra Kumar
df553b1d5b fix hlint warnings
and remove fixed files from .hlint.ignore
2020-05-15 10:18:59 +05:30
Sanchayan Maity
c9eff7e271 Cleanup hlint warnings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-15 10:11:06 +05:30
Harendra Kumar
a4b51db2d6 update accept and connect behavior change 2020-05-12 06:19:41 +05:30
Harendra Kumar
e84612f179 Add connect and connectFrom 2020-05-12 05:55:15 +05:30
Harendra Kumar
96aa91d2a4 Close the socket on exception
in "accept" and "connections"
otherwise it will be closed only on garbage collection.
2020-05-12 05:55:15 +05:30
Harendra Kumar
d0b558e521 close socket on exception (in connect) 2020-05-12 05:55:15 +05:30
Harendra Kumar
40d1e6423d Fix a bug in YieldB case 2020-05-11 21:25:24 +05:30
Harendra Kumar
aa25b34db0 Add benchmarks for *>, <*, split_, sequence_ 2020-05-11 21:25:24 +05:30
Harendra Kumar
2c9feb48ef Add YieldB (yield and backtrack) constructor
This fixes an issue in many/some/manyTill combinators.
2020-05-11 21:25:24 +05:30
Harendra Kumar
633c55eb31 rename splitParse/parseMany, concatParse/parseIterate 2020-05-11 21:18:09 +05:30
Harendra Kumar
1889b4eef6 update fold documentation 2020-05-11 21:17:32 +05:30
Harendra Kumar
684d2786eb Add concatParse to chain parsers on a stream
Add mconcatTo, update fold docs
Add fold docs/snippets using Monoids.
Add benchmark for sum using foldMap
Add concatParse benchmark
Add splitParseTill, update docs
2020-05-11 20:54:22 +05:30
Harendra Kumar
688d68d17c Add a document about unicode text processing plans 2020-05-11 20:02:02 +05:30
Harendra Kumar
91c3b0f8fe Remove coding style section and refer to the guide 2020-05-11 19:29:06 +05:30
Harendra Kumar
8676548f73 use .hlint.ignore file to ignore hlint
On the rest of the files CI build would fail if hlint fails
2020-05-11 10:13:00 +05:30
Harendra Kumar
058c6a35c5 Add initial draft of paths' requirements 2020-05-08 10:51:25 +05:30
Harendra Kumar
a569d763b1 Add note about details section
+ minor edits
2020-05-08 09:07:13 +05:30
Shruti_Umat
0911988b4e explain mapM, sequence functions 2020-05-04 12:06:31 +05:30
Shruti_Umat
3957ceed99 fix output explanation of wAsyncly
typo fix in StreamD coding style
2020-05-04 12:06:31 +05:30
Ahmed Zaheer Dadarkar
e204d9ce09 update to contributing file 2020-05-04 09:42:46 +05:30
Harendra Kumar
500d187b8f disable fusion-plugin for tests
Currently tests use -O0 and plugin does not work without an optimization
option.
2020-04-25 00:19:47 +05:30
Harendra Kumar
7af52d33b7 remove duplicate code 2020-04-24 04:29:12 +05:30