Commit Graph

713 Commits

Author SHA1 Message Date
Michael Walker
c769662fa5 Move regression tests to a new module 2017-09-20 20:45:47 +01:00
Michael Walker
6bab3e883d Add some new async tests 2017-09-20 20:06:44 +01:00
Michael Walker
8636fe9708 Remove top-level definitions of individual tests 2017-09-20 20:06:44 +01:00
Michael Walker
fb13d62218 Give test cases more descriptive names 2017-09-20 20:06:44 +01:00
Michael Walker
58ab0e2c2f Use a typeclass to simplify test group definitions 2017-09-19 23:17:02 +01:00
Michael Walker
1fe6600d86 dejafu release 2017-09-16 20:54:04 +01:00
Michael Walker
a78a5e5b86 Make dejafu compatible with concurrency-1.2 2017-09-16 20:50:37 +01:00
Michael Walker
9de3ffd307 concurrency release 2017-09-16 20:50:37 +01:00
Michael Walker
5da1c7727c Require a MonadSTM to be a MonadPlus
Also pull orElse and retry out of the class.  This breaks
compatibility with dejafu.

Fixes #117
2017-09-16 20:50:37 +01:00
Michael Walker
aa232bdd48 Add Alternative and MonadPlus instances to STM
Fixes #116
2017-09-16 20:42:55 +01:00
Michael Walker
5c3e82403b Simplify travis set-up 2017-09-16 20:31:31 +01:00
Michael Walker
d948b45f97 Document the release process 2017-09-16 15:42:37 +01:00
Michael Walker
34f5da8712 Tutorial on adding a new primitive 2017-09-10 20:51:34 +01:00
Michael Walker
92d07da8de Remove a needless catMaybes 2017-09-09 22:13:38 +01:00
Michael Walker
4b10cc83ab Reduce allocation in SCT combined bounds checking 2017-09-09 22:13:38 +01:00
Michael Walker
490b772f57 Strictify and unpack ID ints for performance
This makes (==) vanish from the top CPU-using functions in the
profile, nice!
2017-09-09 22:13:38 +01:00
Michael Walker
051d810036 Only compare numbers in ID Eq instances 2017-09-09 22:13:38 +01:00
Michael Walker
cda7a7d2ea Remove some usage of fromJust 2017-09-09 15:25:03 +01:00
Michael Walker
caf138e623 Remove some usage of fromJust 2017-09-09 15:23:02 +01:00
Michael Walker
e2e078487e Slightly simplify weight assignment logic 2017-09-09 14:45:32 +01:00
Michael Walker
44181e6018 Release 2017-09-08 11:34:39 +01:00
Michael Walker
060939d9ae Merge pull request #114 from symbiont-io/master
fix #111
2017-09-08 11:29:43 +01:00
Arnaud Bailly
008b812c9c fix #111 2017-09-08 07:54:38 +02:00
Michael Walker
89728f0040 Whoops, refer to the correct test 2017-09-07 23:37:13 +01:00
Michael Walker
a84368953f Add tests for the ticket casCRef returns 2017-09-06 16:03:28 +01:00
Michael Walker
5087ff8a29 Add more tests for single-threaded MVar operations
Closes #94
2017-09-06 15:44:20 +01:00
Michael Walker
36d2a1b2e4 Incrementally compute bounds state
Closes #104
Closes #105
2017-09-06 07:36:50 +01:00
Michael Walker
915233fec8 Simpler README more like the website 2017-09-01 14:33:15 +01:00
Michael Walker
1da31432a8 Add a test case for #111 2017-09-01 13:53:16 +01:00
Michael Walker
05a8f4a56f Release 2017-08-21 18:55:07 +01:00
Michael Walker
26bdb96b25 Add tests for MonadFail exceptions 2017-08-21 18:53:08 +01:00
Michael Walker
2d4e28e308 Add MonadFail instances for internal monads
Fixes #110
2017-08-21 18:52:38 +01:00
Michael Walker
91fa969fc2 Merge branch 'docs' 2017-08-19 16:39:25 +01:00
Michael Walker
b0f6aa5c7e Adjust changelog format 2017-08-19 16:38:39 +01:00
Michael Walker
1ac2f42540 Change use of titlecase in CONTRIBUTING file 2017-08-19 16:38:39 +01:00
Michael Walker
ce7b0fc9ec Advanced Usage 2017-08-19 16:38:39 +01:00
Michael Walker
a9a6689334 Refinement Testing 2017-08-19 16:38:39 +01:00
Michael Walker
d53b689c5b Unit Testing 2017-08-19 16:38:39 +01:00
Michael Walker
581ab8339a Typeclasses 2017-08-19 16:38:39 +01:00
Michael Walker
c06c32e790 Getting Started 2017-08-19 16:38:39 +01:00
Michael Walker
2b92208947 Sections and headings 2017-08-19 16:38:39 +01:00
Michael Walker
ec68d34e14 Initial commit for sphinx docs 2017-08-19 16:38:39 +01:00
Michael Walker
b39200ab7e Test case doesn't actually need three preemptions 2017-08-19 15:43:21 +01:00
Michael Walker
2a15549d97 Release 2017-08-16 11:26:04 +01:00
Michael Walker
1ec7a37671 Fix dpor/bpor variable naming inconsistency 2017-08-14 14:09:55 +01:00
Michael Walker
d3f6ff1b27 Remove unused dporAction field 2017-08-13 20:29:23 +01:00
Michael Walker
04bc5158fa Force evaluation of DPOR state
This prevents a huge leak.
2017-08-12 11:22:34 +01:00
Michael Walker
235da1e43d Use a stack for the DPOR state
Closes #64
Closes #89
2017-08-12 11:22:34 +01:00
Michael Walker
d68afb4e45 Update Test.DejaFu.Conc.Internal module comment 2017-08-12 11:20:14 +01:00
Michael Walker
07dc91c8fb Remove a bit of boolean blindness 2017-08-12 11:15:50 +01:00