Hacker GitHub

← All repos

macabeus/js-proposal-algebraic-effects

View on GitHub ↗ ★ 182 JavaScript

📐Let there be algebraic effects in JS

4 mentions on Hacker News by 3 people: 1 story, 3 comments · first 2019-12-24 · latest 2024-04-05

Mentions per year 4 mentions · busiest year 2019 (2)
20082026
  1. …will be added to JavaScript one day, then react will make use of it to become purely functional. 1: https://github.com/macabeus/js-proposal-algebraic-effects
    comment by gloosx · 2024-04-05 · in A proposal to add signals to JavaScript
  2. …are just a kind of algebraic effects that do not resume. There was a proposal to JS for this: https://github.com/macabeus/js-proposal-algebraic-effects This is also easier to test. assertRaises(ErrorType, func() { code... }) Almost every…
    comment by linkdd · 2021-12-14 · in Go Replaces Interface{} with 'Any'
  3. Yeah. We need to ensure that we have a handler to catch the effect (there is an issue about that: https://github.com/macabeus/js-proposal-algebraic-effects/is... ) For user, it could be useful to separate what from the how . For example,…