Skip to content

Commit ac859f0

Browse files
authored
Fix dynamic_state to use new Effect syntax (#40)
1 parent 91d5d0f commit ac859f0

File tree

4 files changed

+279
-177
lines changed

4 files changed

+279
-177
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ The original implementation of Multicore OCaml allowed a user to `Obj.clone_cont
3434
* [Backtracking N-Queens](https://github.com/ocaml-multicore/effects-examples/blob/master/multishot/queens.ml)
3535
* [Memoization](https://github.com/ocaml-multicore/effects-examples/blob/master/multishot/memo.ml)
3636
* [A mathematical game: Nim](https://github.com/ocaml-multicore/effects-examples/blob/master/multishot/nim.ml)
37+
* [Dynamic State](https://github.com/ocaml-multicore/effects-examples/blob/master/multishot/dynamic_state.ml)
3738

3839
## Running the examples
3940

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

6768
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.

dynamic_state.ml

-176
This file was deleted.

multishot/dune

+5
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@
2727
(names delimcc)
2828
(modules delimcc)
2929
(libraries multicont))
30+
31+
(executables
32+
(names dynamic_state)
33+
(modules dynamic_state)
34+
(libraries multicont))

0 commit comments

Comments
 (0)