Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> You can think of algebraic effects essentially as exceptions that you can resume.

So conditions in Common Lisp? I do love the endless cycle of renaming old ideas



No, algebraic effects are a generalization that support more cases than LISP's condition system since continuations are multi-shot. The closest thing is `call/cc` from Scheme.

Sometimes making these parallelism hurts more than not having them in the first place


Ah multi-shot does make a big difference, thanks for clarifying!


Also literal "resumable exceptions" in Smalltalk.


What a thought-terminating way to approach an idea. Effects are not simply renamed conditions, and we have a whole article here describing them in more detail than that one sentence, so you can see some of the differences for yourself.


Also dependency injection.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: