Commit Graph

7 Commits

Author SHA1 Message Date
Andrzej Rybczak
b77e9c3d65
Add effectful-th based on the code from cleff (#60) 2022-02-22 21:39:14 +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
4df14b294a Include DeriveGeneric in the language stanza 2021-12-16 18:44:03 +01:00
Andrzej Rybczak
f68ee23532 Turn off StrictData and make fields lazy where appropriate 2021-07-29 00:09:56 +02:00
Mann mit Hut
f0bf1e49db
Split effectful package (#27)
* Moved effectful library to a subdirectory

* Initial commit of the effectful-core library

* Removed tests/benchmarks/examples from effectful-core package

* Removed READMEs from packages

* Updated CI

* Refactored doctest script

This is a bit closer to the CI setup.

* Adjusted dependencies

* Updated README

* Updated the package descriptions

* Added examples to test suite
2021-07-25 15:18:35 +02:00
Andrzej Rybczak
f58694cc04 Fix doctest 2021-07-11 22:33:04 +02:00
Andrzej Rybczak
85fe6ca427
Add script for running doctest and enable it for GHC 9.0 (#19) 2021-07-08 18:45:09 +02:00