Skip to content

Commit

Permalink
Fix dynamic_state to use new Effect syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcgilchrist committed Dec 1, 2023
1 parent a73670e commit 5175692
Show file tree
Hide file tree
Showing 4 changed files with 279 additions and 177 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ The original implementation of Multicore OCaml allowed a user to `Obj.clone_cont
* [Backtracking N-Queens](https://github.com/ocaml-multicore/effects-examples/blob/master/multishot/queens.ml)
* [Memoization](https://github.com/ocaml-multicore/effects-examples/blob/master/multishot/memo.ml)
* [A mathematical game: Nim](https://github.com/ocaml-multicore/effects-examples/blob/master/multishot/nim.ml)
* [Dynamic State](https://github.com/ocaml-multicore/effects-examples/blob/master/multishot/dynamic_state.ml)

## Running the examples

Expand Down Expand Up @@ -61,7 +62,7 @@ These are other examples that utilise OCaml effect handlers that are not in this
* [Reactive UI and animation](https://gopiandcode.uk/logs/log-bye-bye-monads-algebraic-effects.html)
* [Probabilisitic Programming](https://github.com/Arnhav-Datar/EffPPL)
+ and the [project report](https://github.com/Arnhav-Datar/EffPPL/blob/main/reports/final_report/EffPPL_Report.pdf)

## Citation

If you are citing this work in an academic paper, please cite the PLDI 2021 paper "Retrofitting Effect Handlers onto OCaml": https://dl.acm.org/doi/10.1145/3453483.3454039.
176 changes: 0 additions & 176 deletions dynamic_state.ml

This file was deleted.

5 changes: 5 additions & 0 deletions multishot/dune
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@
(names delimcc)
(modules delimcc)
(libraries multicont))

(executables
(names dynamic_state)
(modules dynamic_state)
(libraries multicont))
Loading

0 comments on commit 5175692

Please sign in to comment.