Skip to content

Commit 0452576

Browse files
committed
Completely redesign the API around explicit strategies
The API is much nicer. Type families in the `Eval` type class were getting in the way of derivation (derivation isn't done yet). It just created a lot of boiler place. Both at call sites where we had to wrap random values in a newtype all the time, and when defining `Eval` instances (which may be used just once, which was entirely unnecessary), since the instances were almost entirely boilerplate. This actually deletes lines of code, so even the implementation is simpler really. I don't need some special support for the `strict-wrapper` library: just use the `seq` strategy. This is looking quite good.
1 parent 8f21d7b commit 0452576

File tree

2 files changed

+150
-146
lines changed

2 files changed

+150
-146
lines changed

package.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ dependencies:
1313
- containers
1414
- deepseq
1515
- stm
16-
- strict-wrapper
1716
- transformers
1817

1918
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wnoncanonical-monad-instances -Wredundant-constraints

0 commit comments

Comments
 (0)