https://github.com/nymphium/eff.go
One-shot algebraic effects for Golang
https://github.com/nymphium/eff.go
algebraic-effects golang-library
Last synced: 7 months ago
JSON representation
One-shot algebraic effects for Golang
- Host: GitHub
- URL: https://github.com/nymphium/eff.go
- Owner: Nymphium
- License: mit
- Created: 2023-09-06T11:18:07.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-01T11:47:43.000Z (over 1 year ago)
- Last Synced: 2025-06-05T22:09:23.028Z (7 months ago)
- Topics: algebraic-effects, golang-library
- Language: Go
- Homepage: https://pkg.go.dev/github.com/nymphium/eff.go
- Size: 28.3 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Eff.go
=======
ONE-SHOT Algebiraic Effects for Golang!
# One-shot algebraic effects
You can access the delimited continuation which can run only once. Even the limitation exists, you can write powerful control flow manipulation, like async/await, call/1cc.
We have an formal definition for the implementation, by showing a conversion from algebraic effects and handlers to asymmetric coroutines.
[See here (in Japanese)](https://nymphium.github.io/2018/12/09/asymmetric-coroutines%E3%81%AB%E3%82%88%E3%82%8Boneshot-algebraic-effects%E3%81%AE%E5%AE%9F%E8%A3%85.html).