The Wayback Machine - https://web.archive.org/web/20220318195528/https://github.com/topics/algebraic-effects
Skip to content
#

algebraic-effects

Here are 52 public repositories matching this topic...

cdaringe
cdaringe commented Apr 4, 2020

problem

generated symbols are at risk of collision

'use effects'
try{
  const result = perform ({type : 'effect'});
  console.log(result);
} handle default with (e) {
  const handler = "GOTCHA"
  recall handler;
}

generates:

    *[__defaultEffectHandler__](e, resume) {
      const result = yield function (handler) {
        return new Promise(async (res, rej) 

Improve this page

Add a description, image, and links to the algebraic-effects topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the algebraic-effects topic, visit your repo's landing page and select "manage topics."

Learn more