Haxl/tests
P. C. Shyamshankar 3cc0b3e054 Add 1-ary and 2-ary function memoization machinery
Summary:
This revision generalizes the existing memoization framework to 1-ary and 2-ary
functions (namely functions of type (a -> GenHaxl u b) and (a -> b _> GenHaxl u c)).

For every support arity (currently 0, 1, and 2), a family of functions {
newMemoWithX, prepareMemoX and runMemoX } are provided. newMemo itself is
generic across all arities.

Reviewed By: simonmar

Differential Revision: D3555791

fbshipit-source-id: 010a9889d42327607c8b03a5f7a609ee0c70de49
2016-07-25 06:16:28 -07: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 support for disabling the cache 2016-05-31 06:25:54 -07: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 Add a benchmark for basic Haxl monad patterns 2015-10-07 01:16:22 -07: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 Add createMemo/updateMemo helpers, with monadbench test-case. 2016-07-01 08:31:28 -07:00
MockTAO.hs A haxl test for ApplicativeDo 2015-10-07 01:06:35 -07:00
MonadBench.hs Add 1-ary and 2-ary function memoization machinery 2016-07-25 06:16:28 -07:00
ProfileTests.hs Count rounds/fetches for profiling labels. 2016-06-04 15:20:42 -07: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