Commit Graph

302 Commits

Author SHA1 Message Date
Andrzej Rybczak
a23a78913d Slight improvement of replaceEnv 2022-03-18 10:59:58 +01:00
Andrzej Rybczak
d4bbc9248d More tests 2022-03-15 22:27:59 +01:00
Andrzej Rybczak
85fae67bbb Haddock adjustments 2022-03-15 22:09:58 +01:00
Andrzej Rybczak
7195356fc0 Add impose 2022-03-14 13:18:51 +01:00
Andrzej Rybczak
b5d8fb2987 Adjust the signature of interpose 2022-03-14 10:49:55 +01:00
Andrzej Rybczak
12e6bf962f Don't use mask_ in Effectful.Internal.Env
All relevant functions need to be called using bracket anyway.
2022-03-14 10:34:49 +01:00
Andrzej Rybczak
8bd30daf55 Add interpose and subsume 2022-03-14 10:25:26 +01:00
Andrzej Rybczak
0625df8069 Rename benchmarks 2022-03-13 23:09:53 +01:00
Andrzej Rybczak
a555c81611 Simplify how effects are added and removed from the storage 2022-03-13 21:19:38 +01:00
Andrzej Rybczak
f498219a24 Minor adjustments 2022-03-12 06:40:50 +01:00
Andrzej Rybczak
daca435f0b Rewrite Env for simpler code and support for more operations 2022-03-12 03:19:30 +01:00
Andrzej Rybczak
d5093df1d2 Add benchmarks for double dynamic countdown 2022-03-12 02:33:47 +01:00
Andrzej Rybczak
ce7112a309 Slight improvement to getLocation 2022-03-09 16:51:23 +01:00
Andrzej Rybczak
3890b0a600 Fix forkEnv and tailEnv 2022-03-09 16:24:35 +01:00
Andrzej Rybczak
5278c49a17 Fix compilation of benchmarks when cleff is not available 2022-03-08 01:48:26 +01:00
Andrzej Rybczak
94e54ea884 Test with GHC 9.2.2 2022-03-07 21:17:21 +01:00
Andrzej Rybczak
9034e8f572 Copy forks properly with over-tailed environment 2022-03-07 04:51:00 +01:00
Andrzej Rybczak
13153cc12f Point to new benchmarks 2022-03-07 02:51:49 +01:00
Andrzej Rybczak
ea9efc3355 Add benchmark results 2022-03-07 02:47:15 +01:00
Andrzej Rybczak
166e7e6188 Rename remaining releaseS to unmaskS 2022-03-07 02:27:40 +01:00
Andrzej Rybczak
013ea33ff4 Haddock improvement 2022-03-07 02:12:55 +01:00
Andrzej Rybczak
cf5e88ddb1 Remove rep-unsafe variants of functions 2022-03-07 02:02:17 +01:00
Andrzej Rybczak
3b72484d53 A bit faster relinking 2022-03-07 01:27:37 +01:00
Andrzej Rybczak
7f4d55595b Store the size of the Env directly and implement raise 2022-03-06 23:32:02 +01:00
Andrzej Rybczak
907a4c10f1 Disable -Wunticked-promoted-constructors
See https://gitlab.haskell.org/ghc/ghc/-/issues/20531.
2022-02-26 03:52:00 +01:00
Andrzej Rybczak
3ce016aa84 Fix CI 2022-02-25 00:06:02 +01:00
Andrzej Rybczak
24ea29a134 Fix typo 2022-02-24 22:56:55 +01:00
Andrzej Rybczak
aed63768d1 Add HasCallStack to functions generated by TH 2022-02-24 22:41:15 +01:00
Andrzej Rybczak
f7f82c149e Uniform lifted function/module haddock 2022-02-24 00:01:04 +01:00
Andrzej Rybczak
9c627d2bad Add Effectful.Concurrent.MVar.Strict 2022-02-23 23:57:52 +01:00
Andrzej Rybczak
4e0cdc0319 Add Effectful.FilesSystem.IO.File 2022-02-23 23:40:37 +01:00
Andrzej Rybczak
099d25b97d Textify the filesize benchmark for more realism 2022-02-23 02:07:09 +01:00
Andrzej Rybczak
a757b8ffd0 Effectful.Dispatch.Static no longer exports getEnv 2022-02-22 21:42:40 +01:00
Andrzej Rybczak
b77e9c3d65
Add effectful-th based on the code from cleff (#60) 2022-02-22 21:39:14 +01:00
Andrzej Rybczak
cfd958d0dc Reorganize benchmarks 2022-02-17 00:39:20 +01:00
Andrzej Rybczak
b8c3711cbe Track whether static operations perform side effects 2022-02-16 22:00:09 +01:00
Andrzej Rybczak
cc25dc9ef4 Split Effectful.Dispatch.Static into different modules 2022-02-12 02:44:41 +01:00
Andrzej Rybczak
eef830f5aa Simplify runEff 2022-02-09 18:28:44 +01:00
Andrzej Rybczak
4ab5e7b5f6 More haddock improvements 2022-02-08 20:50:23 +01:00
Andrzej Rybczak
485e3e08f4 Haddock improvements 2022-02-01 13:44:11 +01:00
Andrzej Rybczak
ae0a67f46f Reorder benchmarks 2022-02-01 12:35:09 +01:00
Andrzej Rybczak
1c38eda324 Add cleff to benchmarks 2022-02-01 08:41:48 +01:00
Andrzej Rybczak
1e01ac940f Add fused-effects to the filesize benchmark 2022-01-27 07:10:02 +01:00
Andrzej Rybczak
6f60a1e30c Consistently call the unmasking function unmask instead of restore 2022-01-25 23:25:52 +01:00
Andrzej Rybczak
3e6fb33f33 Add intro to Effectful.Dynamic.Dispatch 2022-01-25 23:20:22 +01:00
Andrzej Rybczak
5920c8a628 Fix typo 2022-01-25 11:41:49 +01:00
Andrzej Rybczak
37a274a493 Fix type signatures of fork*WithUnmask 2022-01-25 10:45:35 +01:00
Andrzej Rybczak
6451445e77 Document dynamic variants of basic effects 2022-01-25 10:21:24 +01:00
Andrzej Rybczak
da73cb6e54 Don't require the Typeable constraint for the error type 2022-01-23 13:42:38 +01:00
Andrzej Rybczak
4df9fd683f Fix haddock 2022-01-23 03:13:04 +01:00