mirror of
https://github.com/sayo-hs/heftia.git
synced 2024-11-27 07:37:56 +03:00
higher-order algebraic effects done right for Haskell
9e22c667e4
[fix] Unify signature sum types with those of the datacomp package. |
||
---|---|---|
heftia | ||
heftia-effects | ||
.gitignore | ||
cabal.project | ||
CLA | ||
CONTRIBUTING.md | ||
LICENSE | ||
NOTICE | ||
README.md |
Heftia
Heftia, a composition of hefty trees and co-Yoneda, is a higher-order effects version of Freer.
The paper
- Casper Bach Poulsen and Cas van der Rest. 2023. Hefty Algebras: Modular Elaboration of Higher-Order Algebraic Effects. Proc. ACM Program. Lang. 7, POPL, Article 62 (January 2023), 31 pages. https://doi.org/10.1145/3571255
inspires this library. Hefty trees, proposed by the above paper, are extensions of free monads, allowing for a straightforward treatment of higher-order effects.
This library provides Heftia monads and Freer monads, encoded into data types in several ways to enable tuning in pursuit of high performance.
Your contributions are welcome!
Please see CONTRIBUTING.md.