caml-list - the Caml user's mailing list
 help / Atom feed
From: Alan Schmitt <>
To: "lwn" <>, "cwn"  <>,,
Subject: [Caml-list] Attn: Development Editor, Latest OCaml Weekly News
Date: Tue, 24 Mar 2020 10:31:22 +0100
Message-ID: <> (raw)

[-- Attachment #1: Type: text/plain, Size: 13108 bytes --]


Here is the latest OCaml Weekly News, for the week of March 17 to 24,

Table of Contents

Luv 0.5.1 — a libuv binding — Windows support
resto 0.2 released
Bisect_ppx 2.0.0 — code coverage for OCaml with nice HTML reports
OCaml 4.09.1 released
Cookie 0.1.6
First release of lwt-pipeline
Using Ocaml as scripting language - piping sh commands

Luv 0.5.1 — a libuv binding — Windows support


Anton Bachin announced

  I am pleased to announce release [0.5.1] of [**Luv**]. The main change
  is the addition of Windows support, which makes Luv fully

  Accordingly, Luv 0.5.1 is now installable from both the main opam
  repo, and from opam-repository-mingw.


  Also, as a side effect of the build system refactoring that was needed
  to support Windows, Luv's build system no longer requires Python, and
  supports cross-compilation.

  The other noteworthy change in release 0.5.1 is a routine upgrade of
  the vendored libuv to its latest version, [1.35.0].

[0.5.1] <>

[**Luv**] <>

[1.35.0] <>

resto 0.2 released

  Archive: <>

Raphaël Proust announced

Releases of `resto' 0.3 and 0.4

  On behalf of Nomadic Labs, I'm happy to announce the release of
  versions 0.3 and 0.4 of `resto'. Both versions are available through
  `opam' and available on <>.

  The main change in 0.3 is to depend on `json-data-encoding', the fork
  of the unmaintained `ocplib-json-typed'.

  The changes of 0.4 are more invasive and require users changes:
  • handle the new ``Gone' response code, and
  • pass `gettimeofday' manually.

  This last feature removes a dependency from `resto-cohttp' to `Unix',
  and thus helps with use within a `js_of_ocaml' environment.

Bisect_ppx 2.0.0 — code coverage for OCaml with nice HTML reports


Anton Bachin announced

  I am pleased to announce [release 2.0.0] of [**Bisect_ppx**], the
  OCaml coverage tool, which helps you see which parts of your code are
  not being tested.


  This release is a major upgrade. The highlights are:

  • Support for BuckleScript, js_of_ocaml, and esy. In other words,
    Bisect_ppx now compiles to both native code and JS, and is published
    in both opam and npm.
  • The ability to [send reports automatically] from Travis and CircleCI
    to Coveralls and Codecov. More integrations can be added over time.
  • The awkward `(*BISECT-IGNORE*)' comments for excluding code from
    instrumentation have been replaced by AST attributes like
    `[@coverage off]'
  • A new, more principled instrumentation algorithm.
  • A new reporter command line based on [Cmdliner]. Run
    `bisect-ppx-report --help' to get started with it.
  • Syntax highlighting.

  You are invited to peruse the all-new [README] for details :)

  Several features have been deprecated; mostly command-line flags. You
  can see the list in the *Deprecations* section of the
  [changelog]. However, it may be easier to simply try using Bisect_ppx
  as before – it will warn you if you use a deprecated flag. The
  deprecated flags will be removed in Bisect_ppx 2.1.0, expected around
  July 2020.

  Happy testing!


[release 2.0.0]

[**Bisect_ppx**] <>

[send reports automatically]

[Cmdliner] <>


[changelog] <>

OCaml 4.09.1 released

  Archive: <>

octachron announced

  We have the pleasure of celebrating the anniversary of the first
  spacewalk, conducted by Alexei Leonov, by announcing the release of
  OCaml version 4.09.1.  This is mainly a bug-fix release, with a
  handful of configuration fixes and a GC fix backported from 4.10.0
  . See the list of changes below for more details.

  It is (or soon will be) available as a set of OPAM switches, and as a
  source download here:


Changes in 4.09.1:

  • [#9073], [#9120]: fix incorrect GC ratio multiplier when allocating
    custom blocks with caml_alloc_custom_mem in runtime/custom.c (Markus
    Mottl, review by Gabriel Scherer and Damien Doligez)

  • [#8855], [#8858]: Links for tools not created when installing with
    –disable-installing-byecode-programs (e.g. ocamldep.opt installed,
    but ocamldep link not created) (David Allsopp, report by Thomas

  • [#8947], [#9134], [#9302]: fix/improve support for the BFD library
    (Sébastien Hinderer, review by Damien Doligez and David Allsopp)

  • [#8953], [#8954]: Fix error submessages in the toplevel: do not
    display dummy locations (Armaël Guéneau, review by Gabriel Scherer)

  • [#8965], [#8979]: Alpine build failure caused by (Gabriel Scherer and David Allsopp,
    report by Anton Kochkov)

  • [#8985], [#8986]: fix generation of the primitives when the locale
    collation is incompatible with C. (David Allsopp, review by Nicolás
    Ojeda Bär, report by Sebastian Rasmussen)

  • [#9050], [#9076]: install missing compilerlibs/ocamlmiddleend
    archives (Gabriel Scherer, review by Florian Angeletti, report by
    Olaf Hering)

  • [#9144], [#9180]: multiple definitions of global variables in the C
    runtime, causing problems with GCC 10.0 and possibly with other C
    compilers (Xavier Leroy, report by Jürgen Reuter, review by Mark

  • [#9180]: pass -fno-common option to C compiler when available, so as
    to detect problematic multiple definitions of global variables in
    the C runtime (Xavier Leroy, review by Mark Shinwell)

  • [#9128]: Fix a bug in bytecode mode which could lead to a
    segmentation fault. The bug was caused by the fact that the atom
    table shared a page with some bytecode. The fix makes sure both the
    atom table and the minor heap have their own pages. (Jacques-Henri
    Jourdan, review by Stephen Dolan, Xavier Leroy and Gabriel Scherer)

[#9073] <>

[#9120] <>

[#8855] <>

[#8858] <>

[#8947] <>

[#9134] <>

[#9302] <>

[#8953] <>

[#8954] <>

[#8965] <>

[#8979] <>

[#8985] <>

[#8986] <>

[#9050] <>

[#9076] <>

[#9144] <>

[#9180] <>

[#9128] <>

Cookie 0.1.6

  Archive: <>

Ulrik Strid announced

  I recently released a cookie library. It can parse and create cookie
  headers (`list((string, string)' which both Cohttp and Httpaf uses),
  both `Set-Cookie' and `Cookie' so it works on both client and
  server. It should be compliant with
  <> and I have a pretty good test
  suite for the parsing of cookies at least.

  I couldn’t find a standalone library before this so I decided to
  create one since I need it for my web framework, `Morph'.

  The next step is to create and publish integrations with
  [`ocaml-session'] which I have started.

  • Repo: <>
  • Docs: <>

[`ocaml-session'] <>

First release of lwt-pipeline


Raphaël Proust announced

  A second release of `lwt-pipeline' (v0.2) is available through
  `opam'. This new release makes no change to the code and only affects
  the following:

  • looser constraints on versions of `dune' dependency,
  • tests,
  • tests are executed in CI,
  • minor documentation improvements.

Using Ocaml as scripting language - piping sh commands


Nicolas Tollenaere announced

  I am trying to use ocaml to pipe the result of a command to another (I
  would also be interested in feeding a string or a io stream into a sh
  command). For example, I would like to do the equivalent of cat
  foo.txt | grep thing, or pipe the result of one of my ocaml function
  into grep.

  Quite surprinsingly, neither the Stdlib or Batteries Sys modules
  expose any way to handle the output of Sys.command directly (I would
  have thought there would be optional input and output arguments
  defaulting to stdin and stdout, or something along that). Batteries IO
  module does expose a pipe function but it's not clear for me how it
  would interact with the Sys module. Any ideas or other modules/package
  I could use ?

Nicolás Ojeda Bär suggested

  I think you may be interested by

Nicolas Tollenaere then said

  @grayswandyr @nojb Thanks for the suggestion. I just found shcaml
  <> and I was going to give it a try,
  do you know how it compares to shexp ?

David Chemouil replied

  AFAIK shcaml is unmaintained, but the approach is very nice indeed.


  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

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

  [Alan Schmitt]

[send me a message] <>

[the archive] <>

[RSS feed of the archives] <>

[online] <>

[Alan Schmitt] <>

[-- Attachment #2: Type: text/html, Size: 26314 bytes --]

         reply index

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-03  7:35 Alan Schmitt
2019-10-15  7:28 Alan Schmitt
2019-11-05  6:55 Alan Schmitt
2019-11-12 13:21 Alan Schmitt
2019-11-26  8:33 Alan Schmitt
2019-12-03 15:43 Alan Schmitt
2019-12-10  8:21 Alan Schmitt
2019-12-17  8:52 Alan Schmitt
2019-12-31  9:18 Alan Schmitt
2020-01-07 13:43 Alan Schmitt
2020-01-14 14:17 Alan Schmitt
2020-01-21 14:09 Alan Schmitt
2020-01-28 10:54 Alan Schmitt
2020-02-04  8:47 Alan Schmitt
2020-02-18  8:18 Alan Schmitt
2020-02-25  8:51 Alan Schmitt
2020-03-03  8:00 Alan Schmitt
2020-03-10 14:29 Alan Schmitt
2020-03-17 11:04 Alan Schmitt
2020-03-24  9:31 Alan Schmitt [this message]
2020-03-31  9:55 Alan Schmitt
2020-04-07  7:51 Alan Schmitt
2020-04-14  7:28 Alan Schmitt
2020-04-21  8:58 Alan Schmitt
2020-04-28 12:45 Alan Schmitt
2020-05-05  7:45 Alan Schmitt
2020-05-12  7:46 Alan Schmitt
2020-05-19  9:53 Alan Schmitt
2020-06-09  8:29 Alan Schmitt
2020-06-16  8:36 Alan Schmitt
2020-06-30  7:00 Alan Schmitt
2020-07-07 10:05 Alan Schmitt
2020-07-14  9:55 Alan Schmitt
2020-07-21 14:43 Alan Schmitt
2020-07-28 16:58 Alan Schmitt
2020-08-18  7:26 Alan Schmitt
2020-09-01  7:55 Alan Schmitt
2020-09-08 13:11 Alan Schmitt
2020-09-22  7:27 Alan Schmitt
2020-09-29  7:02 Alan Schmitt
2020-10-06  7:22 Alan Schmitt
2020-10-20  8:16 Alan Schmitt
2020-10-27  8:44 Alan Schmitt
2020-11-03 15:16 Alan Schmitt
2020-12-01  8:55 Alan Schmitt
2020-12-15  9:51 Alan Schmitt
2020-12-22  8:49 Alan Schmitt
2020-12-29 10:00 Alan Schmitt
2021-01-05 11:22 Alan Schmitt
2021-01-12  9:47 Alan Schmitt
2021-01-19 14:28 Alan Schmitt
2021-01-26 13:25 Alan Schmitt
2021-02-02 13:56 Alan Schmitt
2021-02-16 13:53 Alan Schmitt
2021-02-23  9:52 Alan Schmitt
2021-03-09 10:59 Alan Schmitt
2021-03-16 10:32 Alan Schmitt
2021-03-23  9:05 Alan Schmitt
2021-03-30 14:56 Alan Schmitt
2021-04-06  9:42 Alan Schmitt
2021-04-20  9:07 Alan Schmitt
2021-04-27 14:26 Alan Schmitt
2021-05-04  8:58 Alan Schmitt
2021-05-11 14:48 Alan Schmitt
2021-05-25  7:30 Alan Schmitt
2021-06-01  9:23 Alan Schmitt
2021-06-22  9:05 Alan Schmitt
2021-06-29 12:24 Alan Schmitt
2021-07-06 12:34 Alan Schmitt
2021-07-20 12:59 Alan Schmitt
2021-07-27  8:54 Alan Schmitt
2021-08-10 16:47 Alan Schmitt
2021-08-17  6:24 Alan Schmitt
2021-08-24 13:44 Alan Schmitt
2021-09-07 13:24 Alan Schmitt
2021-09-21  9:10 Alan Schmitt
2021-09-28  6:37 Alan Schmitt

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

caml-list - the Caml user's mailing list

Archives are clonable: git clone --mirror

AGPL code for this site: git clone public-inbox