Commit Graph

200 Commits

Author SHA1 Message Date
Andrzej Rybczak
a7954dff75
Describe how to deal with mtl classes with fundeps (#184) 2023-09-13 01:03:24 +02:00
Andrzej Rybczak
e3971ce741 Fix haddock of send 2023-09-12 23:31:18 +02:00
Andrzej Rybczak
dd33ceeb1c Improve documentation of labeled effects 2023-09-12 23:18:38 +02:00
Andrzej Rybczak
ee6aefbc45 Better description 2023-09-11 00:29:19 +02:00
Andrzej Rybczak
7a3186aab8
Update CI (#181) 2023-09-11 00:14:46 +02:00
Andrzej Rybczak
a2da29e050 Clearer description of unsafe functions
Fixes #180.
2023-09-10 23:44:29 +02:00
Andrzej Rybczak
c6ea835782
Add support for labeled effects (#138)
* PoC of labeled effects

* Working implementation

* Define DispatchOf and StaticRep

* Add changelog
2023-08-27 22:49:25 +02:00
Andrzej Rybczak
04ef9f6880 Remove unnecessary INLINE pragmas 2023-08-23 03:48:36 +02:00
Andrzej Rybczak
bf4705fb07 Be explicit about the Eq instance of Unique 2023-08-23 01:49:25 +02:00
Andrzej Rybczak
b4de8746f3 Use a more efficient Unique 2023-08-23 01:36:27 +02:00
Andrzej Rybczak
6332147cdf
Test with GHC 9.8 (#179) 2023-08-11 02:44:38 +02:00
Andrzej Rybczak
7f8299d778
Add runErrorWith and runErrorNoCallStackWith (#178) 2023-08-06 16:46:04 +02:00
Andrzej Rybczak
46ae928e71 Last cleanup of SyncUnlift 2023-07-12 15:14:57 +02:00
Andrzej Rybczak
1b4fb24046 Clean up remains of SyncUnlift 2023-06-27 14:21:26 +02:00
Andrzej Rybczak
1347ae9f3f Remove SyncUnlift from changelogs 2023-06-26 03:05:18 +02:00
Andrzej Rybczak
e15f44460c Remove SyncUnlift as it can't possibly work
Fixes https://github.com/haskell-effectful/effectful/issues/171.
2023-06-25 23:45:08 +02:00
Andrzej Rybczak
0928793430 Disable SyncUnlift in Eff as it doesn't make any sense there 2023-06-25 02:40:41 +02:00
Andrzej Rybczak
bcba46c2cc Improve haddock of UnliftStrategy 2023-06-25 01:29:28 +02:00
Andrzej Rybczak
998c65452f
Add the SyncUnlift strategy (#170) 2023-06-24 23:42:25 +02:00
Andrzej Rybczak
300d5afb28 Improve documentation of unsafe functions 2023-06-23 16:24:02 +02:00
theGhostJW
20120ce64a
fix typo (#168) 2023-06-07 23:52:05 +02:00
Andrzej Rybczak
6bb26d8dae haddock improvement 2023-06-03 03:36:42 +02:00
Andrzej Rybczak
95d592d4fb
CI update (#166) 2023-06-03 03:26:07 +02:00
Andrzej Rybczak
333d448012 Rename Reified to Provider as it's more accurate 2023-05-22 16:26:17 +02:00
Andrzej Rybczak
c461886102
Add support for turning an effect handler into an effectul operation (#135) 2023-05-21 05:48:15 +02:00
Andrzej Rybczak
52a657c84e Consistency in using of/for 2023-05-18 21:14:47 +02:00
Andrzej Rybczak
2020781aa4
Make withEffToIO explicitly take an unlifting strategy (#160) 2023-05-18 21:13:34 +02:00
Andrzej Rybczak
6e8d89048a
Release effectful-core-2.2.2.2 and effectful-plugin-1.1.0.1 (#146) 2023-03-13 09:41:11 +01:00
Andrzej Rybczak
11d1fdb061
Test with GHC 9.2.7 and 9.6.1 (#147) 2023-03-13 09:08:16 +01:00
Andrzej Rybczak
24ff96f97c
Test with GHC 9.6 (#145) 2023-03-05 20:40:30 +01:00
Andrzej Rybczak
efa513f51a Test with GHC 9.2.6 2023-02-14 23:32:13 +01:00
Andrzej Rybczak
19e7532f0a
Use C sources only with GHC < 9 (#139) 2023-02-14 22:48:37 +01:00
Andrzej Rybczak
8af3b492dd Make sure bracket inlines early 2023-02-03 17:19:35 +01:00
Andrzej Rybczak
6b0f620588 Suppress orphan type instance warnings in GHC >= 9.6 2023-02-02 14:19:55 +01:00
Andrzej Rybczak
4a1b690a67
Allow inject to turn a monomorphic effect stack into a polymorphic one (#136) 2023-02-01 15:25:29 +01:00
Andrzej Rybczak
bf69629911 Rename es in Handler for better internal error messages 2023-02-01 10:29:00 +01:00
Andrzej Rybczak
c240f88f26 Derive Eq for IORef' and MVar' 2023-01-31 19:26:59 +01:00
Andrzej Rybczak
a3faef560d Correctly import rts_getThreadId in GHC >= 9.4 2023-01-18 19:31:36 +01:00
Andrzej Rybczak
d8448f747a Fix syntax of two since annotations 2023-01-17 09:36:12 +01:00
Andrzej Rybczak
536f59c781 Add missing since annotations 2023-01-13 06:22:04 +01:00
Andrzej Rybczak
b43f23c32c
Stop using the internal library because of bugs in stack (#126) 2023-01-12 12:15:38 +01:00
Andrzej Rybczak
70a8d800e5
Release effectful-core-2.2.2.0 and effectful-2.2.2.0 (#125) 2023-01-11 23:47:28 +01:00
Andrzej Rybczak
1c0cd64f35 A bit better error for default reifyIndex 2023-01-10 07:27:57 +01:00
Andrzej Rybczak
0cfd98b195 Test inject more thoroughly 2023-01-07 22:20:26 +01:00
Andrzej Rybczak
5da18ffbcf Fix overgeneralization of inject 2023-01-01 21:33:57 +01:00
Andrzej Rybczak
7becb972ea
Update CI (#122) 2023-01-01 20:29:15 +01:00
Andrzej Rybczak
9ccc0b2e0d
Make inject work with effect stacks sharing a polymorphic suffix (#121) 2023-01-01 19:59:13 +01:00
Andrzej Rybczak
69a03e8cac Update CHANGELOG 2022-12-09 17:27:57 +01:00
Andrzej Rybczak
d96d2a41a4 Use strict IORef and MVar variants where appropriate 2022-12-09 17:22:35 +01:00
Andrzej Rybczak
4ac0775c67
Don't put thunks with toAny into the Env (#116) 2022-12-09 16:45:03 +01:00