Commit Graph

226 Commits

Author SHA1 Message Date
Harendra Kumar
55356f646e Simplify state passing
we do not need to pass the state via yield as the state is pretty much local to
a sequence of parallel computations and passing it when running a computation
or embedding it inside the lazy computation (remaining part) is enough.
2017-09-19 16:27:47 +05:30
Harendra Kumar
877b57efb3 Update documentation 2017-09-18 21:43:56 +05:30
Harendra Kumar
5f1a552274 Update doc for monadic bind operations 2017-09-18 21:36:35 +05:30
Harendra Kumar
e560d9140d replace error with fail 2017-09-18 16:07:52 +05:30
Harendra Kumar
5df19ce712 Merge pull request #1 from psibi/fix-test
Fix test for composeAndComposeSimple function
2017-09-16 19:51:54 +05:30
Sibi Prabakaran
28b206e306
Fix test for composeAndComposeSimple function
Not the best way to fix test code and also involves the usage of
partial function, but I guess that's fine for test code.
2017-09-15 23:36:39 +05:30
Harendra Kumar
b477693f84 Add more tests for monoidal compositions 2017-09-14 21:17:34 +05:30
Harendra Kumar
65ca7691c0 Fix loop example 2017-09-14 19:15:23 +05:30
Harendra Kumar
65722cf9d5 Cleanup and add missing documentation 2017-09-14 14:58:29 +05:30
Harendra Kumar
db4367261b Fix build for 7.10.3 2017-09-14 08:40:50 +05:30
Harendra Kumar
9c80d6c8be Upgrade warning options to 8.2.1 and add more options 2017-09-13 23:23:24 +05:30
Harendra Kumar
6f1a0b1fa6 static argument transformation for mappend 2017-09-12 21:24:42 +05:30
Harendra Kumar
5a21de27a8 Use static argument transformation for bindWith 2017-09-12 21:11:37 +05:30
Harendra Kumar
9dc19351df A small performance tweak for the benchmark 2017-09-12 20:15:55 +05:30
Harendra Kumar
0bde21205a Use cycle1 2017-09-11 18:07:20 +05:30
Harendra Kumar
c870bbba35 Change the stack resolver to GHC 8.2.1 nightly 2017-09-09 13:42:16 +05:30
Harendra Kumar
0dffdd7f25 Add fair bind benchmarks 2017-09-08 22:40:53 +05:30
Harendra Kumar
a94bbc51ec Fix ghc 7.10.3 deps, add semigroups 2017-09-08 22:40:23 +05:30
Harendra Kumar
e7e42cb154 Add parallel and interleaved bind operations 2017-09-08 21:29:02 +05:30
Harendra Kumar
0acab07162 Add the fastest search engine example 2017-09-07 21:04:06 +05:30
Harendra Kumar
ccc96551a4 Add semigroup instance 2017-09-07 20:32:49 +05:30
Harendra Kumar
8213fe2d3e Use native drop combinator for Asyncly benchmark 2017-09-06 09:28:25 +05:30
Harendra Kumar
9c66232822 Update description 2017-09-06 08:59:43 +05:30
Harendra Kumar
53b8da31af Move additional benchmarks under a build flag 2017-09-06 08:56:00 +05:30
Harendra Kumar
deec84bbee Add a reactive game example 2017-09-06 08:53:20 +05:30
Harendra Kumar
b64959290f Fix build/travis config for ghc 7.10.3 2017-09-05 15:18:49 +05:30
Harendra Kumar
154a610eb2 Fix build for ghc-7.10.3 2017-09-05 13:34:39 +05:30
Harendra Kumar
e5a180a3be Update travis config to include cabal tests 2017-09-05 12:07:30 +05:30
Harendra Kumar
e423770f5f Add simple conduit 2017-09-05 12:01:00 +05:30
Harendra Kumar
4756d82308 Add back the parallel interleaving test 2017-09-05 10:58:00 +05:30
Harendra Kumar
e2b1e4c45d Fix worker dispatch 2017-09-05 10:50:20 +05:30
Harendra Kumar
ed5f00d575 cleanup tests 2017-09-04 17:20:10 +05:30
Harendra Kumar
560d322678 Remove the recorder stuff for now 2017-09-04 16:39:39 +05:30
Harendra Kumar
28de8ffe31 Use BSD3 license 2017-09-04 16:13:32 +05:30
Harendra Kumar
578f3599fd Update readme with overview 2017-09-04 16:07:46 +05:30
Harendra Kumar
81b50a4130 Use BSD 3-clause license for the lazy implementation 2017-09-04 15:56:05 +05:30
Harendra Kumar
350e706722 Update package metadata post lazy rewrite 2017-09-04 15:49:11 +05:30
Harendra Kumar
2944896619 Fix MonadIO/MonadTrans imports/reexports 2017-09-04 06:31:00 +05:30
Harendra Kumar
09a717ced9 Add take and drop operations 2017-09-04 06:05:34 +05:30
Harendra Kumar
9ddfeae9d2 remove some comments 2017-09-03 16:59:41 +05:30
Harendra Kumar
3946e8f062 rename variable 2017-09-03 16:25:28 +05:30
Harendra Kumar
a0d9419533 do not send worker when workqueue is empty 2017-09-03 16:24:19 +05:30
Harendra Kumar
921a0e7c72 remove some redundant stuff 2017-09-03 16:18:51 +05:30
Harendra Kumar
1f645071b5 rearrange tests 2017-09-03 16:18:00 +05:30
Harendra Kumar
8bb60599a5 Minor code rearrangement 2017-09-03 07:57:50 +05:30
Harendra Kumar
e06b3193d9 Simplify runqueue operations for parallel composition 2017-09-03 07:36:06 +05:30
Harendra Kumar
b3fa110784 Use Michael-Scott lockfree queue for FIFO policy 2017-09-02 12:48:34 +05:30
Harendra Kumar
e5e001675c rearrange code 2017-09-02 03:16:17 +05:30
Harendra Kumar
999b6292b8 Perform first task inline instead of queueing 2017-09-02 03:04:36 +05:30
Harendra Kumar
2e4fc99237 Use IORefs with CAS and MVar instead of TBQueue
Improves performance significantly.
2017-09-01 19:13:20 +05:30