classy-effects: An interface for a handler-independent, typeclass-based effect system.
This library provides definitions for CEPs (classy-effects protocols) to standardize and unify the definition of effects in Haskell in a backend-library-agnostic manner. It also includes several standard effect definitions defined in compliance with CEPs, and Template Haskell functions to automatically make type classes conform to CEPs as effect classes.
Please refer to CEPs for details.
The Template Haskell functions are re-exported from the classy-effects-th package, while the fundamental definitions are re-exported from the classy-effects-base package.
This 'classy-effects' project was abandoned due to the discovery of fundamental difficulties. The reasons are as follows: https://github.com/orgs/sayo-hs/projects/4?pane=issue&itemId=48547880 As an alternative, consider using 'sayo-hs/data-effects', a GADTs-based common effect representation foundation: https://github.com/sayo-hs/data-effects.
[Skip to Readme]
Modules
[Index] [Quick Jump]
- Control
- Effect
- Control.Effect.Class
- Control.Effect.Class.Accum
- Control.Effect.Class.Coroutine
- Control.Effect.Class.Except
- Control.Effect.Class.Input
- Machinery
- Control.Effect.Class.Machinery.HFunctor
- Control.Effect.Class.Machinery.TH
- Control.Effect.Class.Output
- Control.Effect.Class.Provider
- Control.Effect.Class.Reader
- Control.Effect.Class.State
- Control.Effect.Class.Writer
- Control.Effect.Class
- Effect
- Data
- Effect
- Class
- Data.Effect.Class.TH
- Data.Effect.Class.TH.HFunctor
- Data.Effect.Class.TH
- Class
- Effect
Downloads
- classy-effects-0.1.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
- No current members of group
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.1.0.1 |
---|---|
Change log | ChangeLog.md |
Dependencies | base (>=4.16.4.0 && <4.17), classy-effects-base (>=0.1 && <0.2), classy-effects-th (>=0.1 && <0.2) [details] |
Tested with | ghc ==9.2.8 |
License | MPL-2.0 |
Copyright | 2023 Yamada Ryo |
Author | Yamada Ryo <ymdfield@outlook.jp> |
Maintainer | Yamada Ryo <ymdfield@outlook.jp> |
Category | Control, Effect |
Bug tracker | https://github.com/sayo-hs/classy-effects |
Source repo | head: git clone https://github.com/sayo-hs/classy-effects(tag v0.1.0)(classy-effects) |
Uploaded | by YamadaRyo at 2024-07-09T11:05:49Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 80 total (7 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |