Nymphium / eff.go

One-shot algebraic effects for Golang

Home Page:https://pkg.go.dev/github.com/nymphium/eff.go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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).

About

One-shot algebraic effects for Golang

https://pkg.go.dev/github.com/nymphium/eff.go

License:MIT License


Languages

Language:Go 94.7%Language:Nix 5.2%Language:Shell 0.1%