User avatar
Mark Dominus @mjd@mathstodon.xyz
1mo
This is the most exciting technical thing I've seen this week. Stephen Diehl has built an algebraic effects language, , that might actually be usable.

I've been excited about algebraic effects since Bauer and Pretnar's 2012 paper. Haskell's stacks of monad transformers always looked to me like a first-generation hack: yes, we have the technology that could fix the Awkward Squad, but we don't know yet what to do with it. Algebraic effects seemed like they could be the way forward.

But I tried programming in Eff and found it impossible to make
anything work.

Even if Prism isn't practical for practical programming, it's a big step forward, and worth a look just for the ideas.



www.stephendiehl.com/posts/prism/
12
1
0
0
User avatar
mio @mio@shrimp.mio19.uk
1mo
@RanaldClouston Thank you for boosting this. I was just thinking about algebraic effects for my hobby project. I was reading about Effekt effekt-lang.org/publications
1
0
1
0
User avatar
mio @mio@shrimp.mio19.uk
1mo
@RanaldClouston digging my old code of algebraic effects in untyped lisp github.com/migrate-here/effect.rkt
0
0
0
0