OCaml Weekly News

Previous Week Up Next Week


Here is the latest OCaml Weekly News, for the week of June 23 to 30, 2020.

Table of Contents

finch - static site generator

roddy announced

Announcing finch, a simple static site generator. It uses content written as Markdown plus YAML frontmatter like Jekyll/Hugo etc. and produces output with Jingoo templates. It also has some integrations with React (as in the JS library) in the form of Jingoo filters: the motivation behind it was to make it easier to develop sites that use React just for some in some parts rather than structuring the whole site as a single page application.

ANN: Releases of ringo

Raphaƫl Proust announced

Version 0.5 of ringo and ringo-lwt are now available in opam. Although this version changes ringo-lwt only, both packages are released anew to keep the version numbers in sync. This version includes:

  • Improvement in documentation.
  • Simplifications and reduction in the memory footprint of lwt-wrapped caches.
  • Fix for a race condition in the automatic cleanup (previously, on weak caches only, a promise being rejected could cause a different promise to be removed from the cache)
  • Fix a leak
  • More test, including a test for leakiness.

OCaml 4.11, first beta release

octachron announced

The release of OCaml 4.11.0 is approaching.

After three alpha releases, we have created a first beta version to help you adapt your software to the new features ahead of the release.

The compatibility of the opam ecosystem with OCaml 4.11.0 is currently quite good, and it should be possible to test this beta without too much trouble.

The source code is available at these addresses:


The compiler can also be installed as an OPAM switch with one of the following commands.

opam switch create ocaml-variants.4.11.0+beta1 --repositories=default,beta=git+https://github.com/ocaml/ocaml-beta-repository.git


opam switch create ocaml-variants.4.11.0+beta1+VARIANT --repositories=default,beta=git+https://github.com/ocaml/ocaml-beta-repository.git

where you replace VARIANT with one of these: afl, flambda, fp, fp+flambda

We want to know about all bugs. Please report them here: https://github.com/ocaml/ocaml/issues

If you are interested by the list of new features, and the on-going list of bug fixes the updated change log for OCaml 4.11.0 is available at:


Compared to the last alpha release, this first beta release contains the following new bug fixes:


  • #9011: Allow linking .cmxa files with no units on MSVC by not requiring the .lib file to be present. (David Allsopp, report by Dimitry Bely, review by Xavier Leroy)


  • #9384, #9385: Fix copy scope bugs in substitutions (Leo White, review by Thomas Refis, report by Nick Roberts)
  • #9695, #9702: no error when opening an alias to a missing module (Jacques Garrigue, report and review by Gabriel Scherer)


  • #7897, #9537: Fix warning 38 for rebound extension constructors (Leo White, review by Florian Angeletti)
  • #9244: Fix some missing usage warnings (Leo White, review by Florian Angeletti)


  • #9415: Treat open struct as include struct in toplevel (Leo White, review by Thomas Refis)
  • #9416: Avoid warning 58 in flambda ocamlnat (Leo White, review by Florian Angeletti)

Flambda backend

  • #9163: Treat loops properly in un_anf (Leo White, review by Mark Shinwell, Pierre Chambart and Vincent Laviron)

FlexDLL 0.38 released

David Allsopp announced

We are pleased to announce the release of FlexDLL 0.38!

FlexDLL provides a dlopen-like interface for Windows and is used to simplify the linking process for the native Windows ports of OCaml and to allow dynamic loading of C code (bytecode stub libraries and native Dynlink). It is also used for the same purpose in the Cygwin ports of OCaml, except that they can be configured without shared library support.

The release includes various bugfixes as well as proper support for C++ linking on mingw and linking against data symbols in import libraries.

Please see the release page for more information.

Other OCaml News

From the ocamlcore planet blog

Here are links from many OCaml blogs aggregated at OCaml Planet.


If you happen to miss a CWN, you can send me a message and I'll mail it to you, or go take a look at the archive or the RSS feed of the archives.

If you also wish to receive it every week by mail, you may subscribe online.