Commit Graph

470 Commits

Author SHA1 Message Date
Andrzej Rybczak
967213d8cd No one-shot coroutines
After some thinking I realized they won't quite work either.
2023-09-13 01:10:53 +02:00
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
14ba382455 Update changelog 2023-09-12 20:39:24 +02:00
Andrzej Rybczak
ee6aefbc45 Better description 2023-09-11 00:29:19 +02:00
Andrzej Rybczak
bd4d2be96d
Re-enable benchmarks on 9.8 (#182) 2023-09-11 00:25:06 +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
Mann mit Hut
8b1b4a8695
Add bindings to bytestring package (#151)
* Added bindings to bytestring package and introduced Console effect

* Fixed: Exclude Effectful.ByteString.Builder.writeFile if bytestring<0.11.2

* Removed Console effect and moved Effectful.ByteString modules to Effectful.FileSystem.IO.ByteString

* Fixed module headers

* Added Console effect again

* Made Effectful.Console.Static an internal module

* Renamed Effectful.Console.Static to Effectful.Console.Effect

* Renamed new modules such that they do not end in "Static"

* Updated documentation of the Console effect

* Applied suggestions

* Added missing functions

* Applied suggestions

* Applied remaining suggestions

* Added version bound for tasty-bench

The version bounds for of tasty-bench<=0.3.3 allow tasty>=1.5.
But that combination does not build, see for example:
https://github.com/haskell-effectful/effectful/actions/runs/6135853029/job/16650024577

* Only run benchmarks for GHC<9.8
2023-09-10 23:36:48 +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
5b262893ac Bechmark foreign libraries with GHC 9.8 2023-08-06 17:16:38 +02:00
Andrzej Rybczak
7f8299d778
Add runErrorWith and runErrorNoCallStackWith (#178) 2023-08-06 16:46:04 +02:00
Andrzej Rybczak
0bff66fe52
Make effectful-plugin work with GHC 9.8 (#173) 2023-07-31 16:22:29 +02:00
Andrzej Rybczak
1b4e90728e
Require th-abstraction >= 0.6 (#172) 2023-07-31 15:31:26 +02:00
Andrzej Rybczak
2b0358ba59 Bump upper bound of th-abstraction 2023-07-31 14:58:43 +02:00
Andrzej Rybczak
810c64358f Separate primary and extra countdown benchmarks 2023-07-31 14:58:13 +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
Andrzej Rybczak
5973a7f4c7 Update other effect libraries 2023-06-19 18:51:01 +02:00
Andrzej Rybczak
72c8701c72 Update the link to eff repository 2023-06-19 18:39:43 +02:00
Andrzej Rybczak
77e22c5067 Clarification about the Coroutine effect 2023-06-17 18:44:53 +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
21b2fd1970 Relax bounds of th-abstraction 2023-02-27 16:11:49 +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
7a23dc4769 Show better error message if Effectful.Internal.Effect is not found 2023-02-12 12:40:30 +01:00
Andrzej Rybczak
8af3b492dd Make sure bracket inlines early 2023-02-03 17:19:35 +01:00
Andrzej Rybczak
37cb0b0a5c freer-simple doesn't compile with GHC 9.6-alpha2 2023-02-03 16:17:57 +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