Haxl/tests
Simon Marlow 60f1c6b872 Add pOr and pAnd
Summary:
These two operators are subtly non-deterministic, but can potentially
improve performance significantly in cases where

* We don't want to use .|| because it's too sequential
* We don't want to use || because it forces us to do wasted work

(and equivalently for &&).

The implementation is a bit subtle, see Note [tricky pOr/pAnd]

Reviewed By: xich

Differential Revision: D4611809

fbshipit-source-id: 832ace29dfc44e48c14cc5d4f52a0114ee326c92
2017-02-27 09:19:51 -08:00
..
AdoTests.hs A haxl test for ApplicativeDo 2015-10-07 01:06:35 -07:00
AllTests.hs Add createMemo/updateMemo helpers, with monadbench test-case. 2016-07-01 08:31:28 -07:00
BatchTests.hs Add pOr and pAnd 2017-02-27 09:19:51 -08:00
Bench.hs Count rounds/fetches for profiling labels. 2016-06-04 15:20:42 -07:00
CoreTests.hs Update exposed-modules in haxl.cabal 2014-07-17 13:02:09 -07:00
DataCacheTest.hs Count rounds/fetches for profiling labels. 2016-06-04 15:20:42 -07:00
ExampleDataSource.hs Rename Show1 to ShowP 2016-12-09 14:31:39 -08:00
LoadCache.hs Initial open source import 2014-06-10 02:47:59 -07:00
LoadCache.txt Initial open source import 2014-06-10 02:47:59 -07:00
MemoizationTests.hs Import Control.Applicative in MemoizationTests for GHC < 7.10 2016-08-02 20:16:33 -07:00
MockTAO.hs Rename Show1 to ShowP 2016-12-09 14:31:39 -08:00
MonadBench.hs Make haxl compile cleanly with stack build --pedantic 2016-10-05 05:46:30 -07:00
ProfileTests.hs Fix the profile test in haxl-core-unit 2017-02-08 01:32:25 -08:00
TestExampleDataSource.hs Unbreak cabal test 2016-06-04 15:31:43 -07:00
TestMain.hs Unbreak cabal test 2016-06-04 15:31:43 -07:00
TestTypes.hs Add (de)serialization functions to most datasources 2016-05-31 01:20:38 -07:00
TestUtils.hs A haxl test for ApplicativeDo 2015-10-07 01:06:35 -07:00