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
20082026
-
…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 -
…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' -
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,…
comment by macabeus · 2019-12-24 · in Ask HN: JavaScript Proposal – Algebraic Effects? -
▲ 7
Ask HN: JavaScript Proposal – Algebraic Effects?story by macabeus · 2019-12-24 · 6 comments