Skip to content

Commit

Permalink
Merge branch 'effect-syntax'
Browse files Browse the repository at this point in the history
  • Loading branch information
avsm committed May 10, 2024
2 parents 123f6b1 + 315dc4c commit df39332
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- ubuntu-latest
- macos-latest
ocaml-compiler:
- ocaml-base-compiler.5.3.0+trunk
- ocaml-variants.5.3.0+trunk

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

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

# remove this once there is a new release of multicont
- run: opam pin add multicont -y --dev

- run: opam install . --deps-only --with-test

- run: opam exec -- dune build
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ The original implementation of Multicore OCaml allowed a user to `Obj.clone_cont

## Running the examples

To run the examples with OCaml, be sure to install [Opam with these instructions](https://opam.ocaml.org/doc/Install.html).
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.

```bash
# After cloning this repository, create a 5.1 switch
# After cloning this repository, create a 5.3 switch
opam update
opam switch create 5.1.1
opam switch create 5.3.0+trunk
opam install . --deps-only
```

Expand Down

0 comments on commit df39332

Please sign in to comment.