package multicont

  1. Overview
  2. Docs
Multi-shot continuations in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

multicont-1.0.3.tbz
sha256=12eaa68f681d6484eb53c72fabe2b880664435b1f94c09ff0c2b48e9d0084103
sha512=0fabeced43326ce09b6d010fc477caf9b593b00c40e22826caa1c7ddc956d8a505591bb683c31539f02d29208792c015ad5a2d3806a40ae47d2ec46f0122018d

CHANGES.md.html

Multicont version 1.0.3 (latest)

This release restores compatibility with macOS (14.4.1) when using clang 15 or greater.

Changes:

  • Patch #8: Explicit declaration of memcpy to fix compilation error when using clang on macOS (thanks to @tmcgilchrist).

  • Fixed a regression where enabling feature flag UNIQUE_FIBERS caused compilation to fail.

  • Spring cleaning: Removed unused header imports.

  • Added an example illustrating how to use the power of multishot continuation to simulate the return operator (e.g. as found in C/C++/Rust/etc) using a single handler.

Multicont version 1.0.2

This release adds support for the anticipated release of OCaml 5.2.

Changes:

  • Patch #7: OCaml 5.2 support (thanks to kit-ty-kate for the issue report #6; thanks to David Allsopp for reviewing the patch). The change accounts for the new continuation representation.

  • Added a basic testsuite runnable via dune runtest.

  • Fixed a memory leak in the rollback parsing example.

  • Added an entry about subtle interactions of unrestricted and linear effects in the "Cautionary tales" section of the README.

Multicont version 1.0.1

This release is a purely administrative release which ports the build infrastructure to dune in order to resolve the reported build issues (e.g. https://github.com/ocaml/opam-repository/pull/23972).

Multicont version 1.0.0

To celebrate the recent stable release of OCaml 5, we release a stable version of this library fully compatible with OCaml 5. The only change between this version and the previous release candidates is that now we use the stock OCaml 5 primitives to manage runtime stacks (c.f. caml/fiber.h).

Multicont version 1.0.0~rc.2

Release candidate 2 brings the fiber primitives of multicont in sync with those in OCaml trunk @ b4cfe16.

Multicont version 1.0.0~rc.1

This is release candidate 1 (and initial release) of the multicont library for OCaml.

This release is compatible with the OCaml 5.0 trunk @ 7f7c0f5 and x64 architectures.

OCaml

Innovation. Community. Security.