Skip to content

Commit e793aeb

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 e793aeb

File tree

3 files changed

+150
-148
lines changed

3 files changed

+150
-148
lines changed

benign.cabal

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ library
3434
, containers
3535
, deepseq
3636
, stm
37-
, strict-wrapper
3837
, transformers
3938
default-language: Haskell2010
4039

@@ -50,6 +49,5 @@ executable simple-print
5049
, containers
5150
, deepseq
5251
, stm
53-
, strict-wrapper
5452
, transformers
5553
default-language: Haskell2010

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)