Commit Graph

470 Commits

Author SHA1 Message Date
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
Andrzej Rybczak
2dd351c0cb Fix CI 2022-01-23 02:57:58 +01:00
Andrzej Rybczak
bf6ce5abe3 Move Effectful.Monad to Effectful 2022-01-23 02:04:20 +01:00
Andrzej Rybczak
df9190d3b0 Document static and dynamic dispatch 2022-01-23 02:04:17 +01:00
Andrzej Rybczak
938550b784 Add :>> for more concise type signatures 2022-01-22 16:57:11 +01:00
Andrzej Rybczak
e9be11ec46 Include freer-simple benchmark with GHC 9.0 and 9.2 2022-01-13 00:13:39 +01:00
Andrzej Rybczak
db61b5a324 Add runFailIO 2022-01-12 23:56:13 +01:00
Andrzej Rybczak
5902cfe476 Remove redundant checkSizeEnv 2022-01-11 20:34:32 +01:00
Andrzej Rybczak
bc2bbf13f7 Warn about outdated 0.0.0.0 version from Hackage 2022-01-11 20:18:43 +01:00
Andrzej Rybczak
89c614b3aa Rename noRelinker to dummyRelinker 2022-01-11 00:00:44 +01:00
Andrzej Rybczak
46c8feac58 Update README 2022-01-10 20:30:27 +01:00
Andrzej Rybczak
513e632178 Distinguish between dispatch in module names of base effects
Fixes #50.
2022-01-10 20:19:35 +01:00
Andrzej Rybczak
109d441656
Prevent possibility of mixing functions for different dispatch types (#49)
* Prevent possibility of mixing functions for different dispatch types

* Rename Rep to EffectR

* Turn DataR into a data family

* Fix doctest with GHC 9.2.1

* HandlerR -> Handler, EffectR -> EffectRep, DataR -> StaticRep

* Safer unsafeConsEnv

* Better haddock

* Rename *Data operations to *StaticRep

* Haddock adjustment

* More haddock adjustments

* One more haddock adjustment
2022-01-07 20:28:19 +01:00
Andrzej Rybczak
310c1f9bf8 Remove duplicated FileSystem effect 2022-01-06 13:56:29 +01:00
Andrzej Rybczak
6632678e2f Add 9.0.2 to CI 2022-01-06 12:19:29 +01:00
Andrzej Rybczak
0d0283948d Reorder filesize benchmark 2021-12-29 08:57:03 +01:00
Andrzej Rybczak
bc05397c85 Remove broken 9.0.1 from CI
9.0.2 will be added once it's available.
2021-12-29 08:45:31 +01:00
Andrzej Rybczak
1811b919b4 Haddock improvement 2021-12-29 08:44:28 +01:00
Andrzej Rybczak
6506958cce A tiny bit more efficient getLocation 2021-12-29 08:09:18 +01:00
Andrzej Rybczak
3b965edaa8 Shuffle things around 2021-12-28 14:17:00 +01:00
Andrzej Rybczak
f749af5d39 Safer and more descriptive API for static dispatch 2021-12-25 16:22:25 +01:00
Andrzej Rybczak
28ee6e4dc5 Update README 2021-12-24 08:02:41 +01:00
Andrzej Rybczak
7a25ab972f More demonstrations of mtl issues 2021-12-24 07:14:26 +01:00
Andrzej Rybczak
bf25f3421f Show that listen works as advertised 2021-12-21 03:45:12 +01:00
Andrzej Rybczak
a2681ebc95 Show that State improves over StateT wrt. exceptions 2021-12-21 00:33:39 +01:00
Andrzej Rybczak
4fb7b5f33d Small haddock adjustment 2021-12-20 20:58:26 +01:00
Andrzej Rybczak
4704c35d48 Describe caveats of the Concurrent effect 2021-12-19 20:19:48 +01:00
Andrzej Rybczak
6c09a2f27f Rename IdE to IdA and Handler to HandlerA 2021-12-19 03:26:20 +01:00
Andrzej Rybczak
dadd56f52d Add description of listens to Effectful.Writer.Shared 2021-12-19 03:07:36 +01:00
Andrzej Rybczak
3294d3b844 Haddock improvements 2021-12-19 01:06:05 +01:00
Andrzej Rybczak
62ac970623 More haddock 2021-12-17 19:45:47 +01:00
Andrzej Rybczak
d3541483a5 Add haddock to Effectful.Error 2021-12-17 18:19:43 +01:00
Andrzej Rybczak
760013303a Add haddock to shared variants of State and Writer 2021-12-16 20:35:08 +01:00