Skip to content

Commit df39332

Browse files
committed
Merge branch 'effect-syntax'
2 parents 123f6b1 + 315dc4c commit df39332

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- ubuntu-latest
1616
- macos-latest
1717
ocaml-compiler:
18-
- ocaml-base-compiler.5.3.0+trunk
18+
- ocaml-variants.5.3.0+trunk
1919

2020
runs-on: ${{ matrix.os }}
2121

@@ -31,6 +31,9 @@ jobs:
3131
default: https://github.com/ocaml/opam-repository.git
3232
opam-depext: false
3333

34+
# remove this once there is a new release of multicont
35+
- run: opam pin add multicont -y --dev
36+
3437
- run: opam install . --deps-only --with-test
3538

3639
- run: opam exec -- dune build

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ The original implementation of Multicore OCaml allowed a user to `Obj.clone_cont
3838

3939
## Running the examples
4040

41-
To run the examples with OCaml, be sure to install [Opam with these instructions](https://opam.ocaml.org/doc/Install.html).
41+
To run the examples with OCaml, be sure to install [Opam with these instructions](https://opam.ocaml.org/doc/Install.html). These examples use the new effect syntax introduced with OCaml 5.3 and onwards. If you wish to see the examples which used the underlying effect functions directly, please checkout the `5.1.1` tag of this repository instead.
4242

4343
```bash
44-
# After cloning this repository, create a 5.1 switch
44+
# After cloning this repository, create a 5.3 switch
4545
opam update
46-
opam switch create 5.1.1
46+
opam switch create 5.3.0+trunk
4747
opam install . --deps-only
4848
```
4949

0 commit comments

Comments
 (0)