logoalt Hacker News

Fun with Algebraic Effects – From Toy Examples to Hardcaml Simulations

46 pointsby weinzierllast Tuesday at 7:27 PM1 commentview on HN

Comments

i_don_t_knowtoday at 9:21 PM

Chapter 9 and section 10.7 of this book show some interesting (and to me unexpected) uses of effects in Ocaml and how they compare to implementations based on monads:

https://lukstafi.github.io/curious-ocaml/new_book.html

The dscheck model-checker is another interesting application of effects: https://github.com/ocaml-multicore/dscheck