From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by c5ff346549e7 (Postfix) with ESMTPS id AFECE5D4 for ; Tue, 14 Jul 2020 09:55:18 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.75,350,1589234400"; d="scan'208,217";a="459675950" Received: from prod-listesu18.inria.fr (HELO sympa.inria.fr) ([128.93.162.160]) by mail2-relais-roc.national.inria.fr with ESMTP; 14 Jul 2020 11:55:17 +0200 Received: by sympa.inria.fr (Postfix, from userid 20132) id 1AA4EE25A5; Tue, 14 Jul 2020 11:55:17 +0200 (CEST) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id C0F56E259C for ; Tue, 14 Jul 2020 11:55:11 +0200 (CEST) Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=Pass smtp.pra=alan.schmitt@polytechnique.org; spf=Pass smtp.mailfrom=SRS0=peff=AZ=polytechnique.org=alan.schmitt@bounces.m4x.org; spf=Pass smtp.helo=postmaster@mx1.polytechnique.org IronPort-PHdr: =?us-ascii?q?9a23=3AxA7J1x3pIs0MGDe/smDT+DRfVm0co7zxezQtwd8Z?= =?us-ascii?q?sesULfvxwZ3uMQTl6Ol3ixeRBMOHsqwC0LKd6fiocFdDyK7JiGoFfp1IWk1Nou?= =?us-ascii?q?QttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZr?= =?us-ascii?q?KeTpAI7SiNm82/yv95HJbAhEmTuwbal8IRmqogndqNUaipZ+J6gszRfEvmFGcP?= =?us-ascii?q?lMy2NyIlKTkRf85sOu85Nm7i9dpfEv+dNeXKvjZ6g3QqBWAzogM2Au+c3krgLD?= =?us-ascii?q?QheV5nsdSWoZjBxFCBXY4R7gX5fxtiz6tvdh2CSfIMb7Q6w4VSik4qx2SBPmiy?= =?us-ascii?q?EHNyA48GHMi8x/l6Zbrwy8rB1xxI7UepyaNOFjda/Zc94WWW9NU8BMXCJDH4y8?= =?us-ascii?q?dZMCAeofM+hFoYfzpFQBogelCAa2GO/i0CVFimPq0aA41ekqDAHI3BYnH9ILqH?= =?us-ascii?q?nZsNH1O70UUeuo0afH0TXDb/ZX2Tfh9IjDbxcsruuIXb1qd8rd01IvGB/FjlWV?= =?us-ascii?q?qIzlIy+V2/8Vs2ic6+phVf6vhHA7pAFxpDivx94sipTXiY4PzVDE7yp5zZ8zKN?= =?us-ascii?q?alR0F1fcSqH4FMtyGGKYR2WMUiTnl1tCs5yLALuIO3cicXxZg72xPRZPyKfoaI?= =?us-ascii?q?7BztVeucPzd2iW9ldr+wiRu/8UytxvPzWMSw0ltHsytIn8TOu3wR0RHY98aJSv?= =?us-ascii?q?x4/ki72DaP0Rje6vlaLkAolKrbN4AuwqY3lpoWtETMADX6mEPog6+Kbkkk/fSn?= =?us-ascii?q?5P7iYrXivJOcMJV0ig7mPqQhm8y/HeQ4MhUVUGSB5eu807jj8VX4QLVMlP02k7?= =?us-ascii?q?PWvIrUJcQBvqK5DA5V0poj6xaiFDiqys4UkmUALFJAYB6Hl5LpNEvBIPDgF/e/?= =?us-ascii?q?hFusnC13yPDBO73tGo/NIWbZn7f6erZ97UtcyA4zzdBC/J1YEK0OIPX2WkPprN?= =?us-ascii?q?zXFAM2Mw+ow+b/FdVyzZkSVn6IAq+cKK/SsEKH5+IrI+mIfoMVvyz9K/cj6vXz?= =?us-ascii?q?jnE5gUcQcbS30ZYTcny0A+hqLkqDbXfintsNC2kHswUmQOHoi1COSyBfanmsU6?= =?us-ascii?q?4m+z02B5iqAZrMS4yxhrGKwT21EYdMZm9cD1CBCXfoeJuAW/cLcC+SJ8BgniEe?= =?us-ascii?q?Wbi5TI8h0RGvtBPkxLV7LurU/CwYtYv+1Ndr/eHTkgsy9TNsA8Sc1WGCUX10k3?= =?us-ascii?q?sVSzMo2K1zu1FxxkuM3KRijfFUCcZf6v1GXwsiMJ7T1e16C9T8WgLbedeJTU6r?= =?us-ascii?q?TMi6Dz8sUt4828cObFhzG9Wslh3OwymlDqcNl7yMAJw18r7c0GbtKMZ9zXbG1b?= =?us-ascii?q?Ahj0Q4TcdVMm2mnKF/+hDJCI7NiUqZkbymdb8A0y7N8WeDzHaOvF1DXQFrVqXF?= =?us-ascii?q?QHYfaVfIotTi/E/CSrCjCLs9PgtG086CJbNGasf1glVeWPfjJNPebnqtlGiqAB?= =?us-ascii?q?aIwqqAbI7re2UGwCXQE1MEkgAW/XaeLwcyHCaho2TEDDxvD13jeU3s8fMt4E+8?= =?us-ascii?q?GwUw0AfAJxllyLyd/gETw/qRV6VXlvgPpyFr430gF0m799bXEMab4QttbaFYJ9?= =?us-ascii?q?Qn7wEDnWnQsgg4Op27M4hjgEQfekJ5pQem3BJyEq1EkNM2tzUt1gBzNauc3lRR?= =?us-ascii?q?MT6Fjr7qPbiCA237+liUYK7T203CmIKf/q4Jru8zq1DioB2BDk0m4mlq2NlT0m?= =?us-ascii?q?KB69PNFgVEAsG5aVo+6xUv/+KSWSI6/Y6BjiU1bPuE9wTa0tdsP9MLjxate9AF?= =?us-ascii?q?a/GBBFa0C8oeFtSjI+wsmkG0Y1QDJu8ArfdobfPjTOOP3euQBMglhCiv1DUV+I?= =?us-ascii?q?d5w16B/Cp6S/fV0tAC2f7Kh1LWBQe5t0+ot4XMoa4BYDgTGmSlzi29W9xbYbB0?= =?us-ascii?q?dosQT2LyM4uw3Nos3pM=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AXAgC0gA1fcyIeaIFgHQEBAQEJARIBB?= =?us-ascii?q?QUBggqBI1hAAV1VMiyEM4FdhySLJwKFOY1UhRQDYAEDAQwYAQ4FAQIEAQGDF4N?= =?us-ascii?q?TAh0GAQUzEwIQAQEFAQEBAgEDAwQBEwEMCwkIhgsMgjcMGYMbASEKRx4jAxQHA?= =?us-ascii?q?wIRARcBFAoXARIagw2CfAQBCoxwm3qBMoQ6AQMDEAEOCYRGgUANAhN/F4U5R4J?= =?us-ascii?q?uCINWJg+BTD+BEYJibIJFDAsBAQEBAYE6AQGDNheCSQSPOiZpkWGSUygHgmCBB?= =?us-ascii?q?wQLhkF8ilGGV4J1gR6IG5MFIZFQgWaFbAdygVmFdIo9hEmBQCqBejMaMEOCaQl?= =?us-ascii?q?gDY17LxeBAgEJgkKBPoMbO4VEPzMCAQEBMgIGAQcBAQMJdQEBBRMLAY84BQEB?= X-IPAS-Result: =?us-ascii?q?A0AXAgC0gA1fcyIeaIFgHQEBAQEJARIBBQUBggqBI1hAAV1?= =?us-ascii?q?VMiyEM4FdhySLJwKFOY1UhRQDYAEDAQwYAQ4FAQIEAQGDF4NTAh0GAQUzEwIQA?= =?us-ascii?q?QEFAQEBAgEDAwQBEwEMCwkIhgsMgjcMGYMbASEKRx4jAxQHAwIRARcBFAoXARI?= =?us-ascii?q?agw2CfAQBCoxwm3qBMoQ6AQMDEAEOCYRGgUANAhN/F4U5R4JuCINWJg+BTD+BE?= =?us-ascii?q?YJibIJFDAsBAQEBAYE6AQGDNheCSQSPOiZpkWGSUygHgmCBBwQLhkF8ilGGV4J?= =?us-ascii?q?1gR6IG5MFIZFQgWaFbAdygVmFdIo9hEmBQCqBejMaMEOCaQlgDY17LxeBAgEJg?= =?us-ascii?q?kKBPoMbO4VEPzMCAQEBMgIGAQcBAQMJdQEBBRMLAY84BQEB?= X-IronPort-AV: E=Sophos;i="5.75,350,1589234400"; d="scan'208,217";a="459675857" X-MGA-submission: =?us-ascii?q?MDG1ifjcHCrz7PjA7m6iaRhEU/gii/O8W+lrMU?= =?us-ascii?q?JAJVCFzpELlLfHo9JcqY/prpsZ/1YRmCESk3qrcHbTKnalT60gW7lqOp?= =?us-ascii?q?IqQwMYXssJPBaI9K/AAQNeZmJ4RZ5LI4JfFYHzpK4VPKGN2FfyVPHAce?= =?us-ascii?q?dYeDKIIKUyg1kigNraOgD/ew=3D=3D?= Received: from mx1.polytechnique.org ([129.104.30.34]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jul 2020 11:54:21 +0200 Received: from set (cbg35-2-78-242-14-140.fbx.proxad.net [78.242.14.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id B3E1A5654BC; Tue, 14 Jul 2020 11:54:19 +0200 (CEST) From: Alan Schmitt To: "lwn" , "cwn" , caml-list@inria.fr, comp@lists.orbitalfox.eu Date: Tue, 14 Jul 2020 11:54:19 +0200 Message-ID: <87a702l8vo.fsf@m4x.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-=-=" X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Tue Jul 14 11:54:20 2020 +0200 (CEST)) X-Spam-Flag: No, tests=bogofilter, spamicity=0.000000, queueID=40A675654BD X-Org-Mail: alan.schmitt.1995@polytechnique.org Subject: [Caml-list] Attn: Development Editor, Latest OCaml Weekly News Reply-To: Alan Schmitt X-Loop: caml-list@inria.fr X-Sequence: 18191 Errors-To: caml-list-owner@inria.fr Precedence: list Precedence: bulk Sender: caml-list-request@inria.fr X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Here is the latest OCaml Weekly News, for the week of July 07 to 14, 2020. Table of Contents =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80 OCaml 4.11.0, second beta release letters - simple client abstractions for sending emails over SMTP A question about Ocaml Alcotest 1.2.0 Set up OCaml 1.1.0 Old CWN OCaml 4.11.0, second beta release =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90= =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90 Archive: [https://discuss.ocaml.org/t/ocaml-4-11-0-second-beta-release/6063/1] octachron announced =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80 The release of OCaml 4.11.0 is approaching. As one step further in this direction, we have published a second beta release. This new release fixes an MSVC-specific runtime issue. The compatibility of the opam ecosystem with OCaml 4.11.0 is currently quite good with only 7 packages not currently available, and it should be possible to test this beta without too much trouble. The source code is available at these addresses: [https://github.com/ocaml/ocaml/archive/4.11.0+beta2.tar.gz] [https://caml.inria.fr/pub/distrib/ocaml-4.11/ocaml-4.11.0+beta2.tar.gz] The compiler can also be installed as an OPAM switch with one of the following commands: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 opam switch create ocaml-variants.4.11.0+beta2 --repositories= =3Ddefault,beta=3Dgit+https://github.com/ocaml/ocaml-beta-repository.git =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 or =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 opam switch create ocaml-variants.4.11.0+beta2+ --repo= sitories=3Ddefault,beta=3Dgit+https://github.com/ocaml/ocaml-beta-repositor= y.git =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 where you replace with one of these: afl, flambda, fp, fp+flambda We would love to hear about any 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: [https://github.com/ocaml/ocaml/blob/4.11/Changes] Compared to the previous beta release, the exhaustive list of changes is as follows: Runtime =E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C =E2=80=A2 [#9714], [#9724]: Use the C++ alignas keyword when compiling in C++. Fixes a bug with MSVC C++ 2015/2017. Add a terminator to the `caml_domain_state' structure to better ensure that members are correctly spaced. (Antonin D=C3=A9cimo, review by David Allsopp and Xavier Leroy) [#9714] https://github.com/ocaml/ocaml/issues/9714 [#9724] https://github.com/ocaml/ocaml/issues/9724 Manual and documentation =E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2= =95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95= =8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C=E2=95=8C =E2=80=A2 [#8644]: fix formatting comment about @raise in stdlib's mli fi= les (=C3=89lie Brami, review by David Allsopp) =E2=80=A2 [#9712]: Update the version format to allow "`". The new format= is "major.minor[.patchlevel][(+|')additional-info]", for instance "4.12.0~beta1+flambda". This is a documentation-only change for the 4.11 branch, the new format will be used starting with the 4.12 branch. (Florian Angeletti, review by Damien Doligez and Xavier Leroy) [#8644] https://github.com/ocaml/ocaml/issues/8644 [#9712] https://github.com/ocaml/ocaml/issues/9712 letters - simple client abstractions for sending emails over SMTP =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90= =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90= =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90 Archive: [https://discuss.ocaml.org/t/ann-letters-simple-client-abstractions-for-s= ending-emails-over-smtp/6071/1] Miko announced =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Earlier today I've published the first release of [letters]. This library aims to provide simple to use client library for sending emails over SMTP using _lwt_ for async execution. It is build on top of _mrmime_ and _colombe_. While these libraries are very capable, they aren't that simple to use, _letters_ is trying to fill that gap. Anyway, big thanks for the authors of these projects for doing the heavy lifting. As this library is still in its early stage, I believe I will break the API with first few releases. Luckily the API is quite simple so following these changes should be quite easy. To make this library awesome, any feedback or feature request is welcome. I'll try to address them as quickly as I can. I hope I've managed to scratch someone else's itch too, enjoy. [letters] https://github.com/oxidizing/letters A question about Ocaml =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90 Archive: [https://discuss.ocaml.org/t/a-question-about-ocaml/6075/21] Deep in this theard, Yawar Amin said =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80 A few ReasonML books: =E2=80=A2 [Web Development With ReasonML] =E2=80=A2 [Exploring ReasonML] (free online) =E2=80=A2 [Learn Type-Driven Development] (co-authored by me) [Web Development With ReasonML] https://pragprog.com/titles/reasonml/ [Exploring ReasonML] http://reasonmlhub.com/exploring-reasonml/toc.html [Learn Type-Driven Development] https://www.packtpub.com/application-development/learn-type-driven-developm= ent Alcotest 1.2.0 =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90 Archive: [https://discuss.ocaml.org/t/ann-alcotest-1-2-0/6089/1] Craig Ferguson announced =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 I'm pleased to announce the release of [Alcotest] 1.2.0, now available on Opam. This release includes: =E2=80=A2 a new `alcotest-mirage' package for running tests on MirageOS; =E2=80=A2 full UTF-8 support; =E2=80=A2 default coloured output in Dune (without needing to pass `--no-buffer'); =E2=80=A2 an improved output format. The full changelog is available [here]. [https://aws1.discourse-cdn.com/standard11/uploads/ocaml/original/2X/a/ac= 89cfe4dfeed063560212136c9e2b690a888b6c.png] Thanks to our many contributors in this release cycle. [Alcotest] https://github.com/mirage/alcotest/ [here] https://github.com/mirage/alcotest/blob/1.2.0/CHANGES.md Set up OCaml 1.1.0 =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2= =95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=90 Archive: [https://discuss.ocaml.org/t/ann-set-up-ocaml-1-1-0/6093/1] Sora Morimoto announced =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 This release contains these changes: =E2=80=A2 The default opam repository can now be set via input. =E2=80=A2 Linux VMs now use opam 2.0.7. [https://github.com/avsm/setup-ocaml/releases/tag/v1.1.0] Sora Morimoto then added =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 In fact, this release was a long time ago, but I completely forgot to post this. By the way, we have made significant improvements to some of the documentation. In particular, the action versioning section is applicable to other GitHub Actions and definitely worth reading! [https://github.com/avsm/setup-ocaml#how-to-specify-the-version] Old CWN =E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90 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]. [Alan Schmitt] [send me a message] mailto:alan.schmitt@polytechnique.org [the archive] http://alan.petitepomme.net/cwn/ [RSS feed of the archives] http://alan.petitepomme.net/cwn/cwn.rss [online] http://lists.idyll.org/listinfo/caml-news-weekly/ [Alan Schmitt] http://alan.petitepomme.net/ --=-=-= Content-Type: text/html; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable OCaml Weekly News

OCaml Weekly News

Previous Week Up Next Week

Hello

Here is the latest OCaml Weekly News, for the week of July 07 to 14, 2020.

OCaml 4.11.0, second beta release

octachron announced

The release of OCaml 4.11.0 is approaching. As one step further in this direction, we have published a second beta release. This new release fixes an MSVC-specific runtime issue.

The compatibility of the opam ecosystem with OCaml 4.11.0 is currently quite good with only 7 packages not currently available, and it should be possibl= e to test this beta without too much trouble.

The source code is available at these addresses:

http= s://github.com/ocaml/ocaml/archive/4.11.0+beta2.tar.gz
https://caml.inria.fr/pub/distrib/ocaml-4.11/ocaml-4.11.0+beta2.tar= .gz

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

opam switch create ocaml-variants.4.11.0+beta2=
 --repositories=3Ddefault,beta=3Dgit=
+https://github.com/ocaml/ocaml-beta-repository.git

or

opam switch create ocaml-variants.4.11.0+beta2=
+<VARIANT> --repositories=3Ddefault,b=
eta=3Dgit+https://github.com/ocaml/ocaml-beta-repository.git

where you replace <VARIANT> with one of these: afl, flambda, fp, fp+f= lambda

We would love to hear about any 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:

https://github= .com/ocaml/ocaml/blob/4.11/Changes

Compared to the previous beta release, the exhaustive list of changes is as follows:

Runtime

  • #9714, #9724: Use the C++ al= ignas keyword when compiling in C++. Fixes a bug with MSVC C++ 2015/2017. A= dd a terminator to the caml_domain_state structure to better e= nsure that members are correctly spaced. (Antonin D=C3=A9cimo, review by Da= vid Allsopp and Xavier Leroy)

Manual and documentation

  • #8644: fix f= ormatting comment about @raise in stdlib's mli files (=C3=89lie Brami, revi= ew by David Allsopp)
  • #9712: Updat= e the version format to allow "". The new format is "major.minor[.pat= chlevel][(+|)additional-info]", for instance "4.12.0~beta1+flambda".= This is a documentation-only change for the 4.11 branch, the new format wi= ll be used starting with the 4.12 branch. (Florian Angeletti, review by Dam= ien Doligez and Xavier Leroy)

letters - simple client abstractions = for sending emails over SMTP

Miko announced

Earlier today I've published the first release of letters. This library aims to provide simple to use client library for sending emails ove= r SMTP using lwt for async execution.

It is build on top of mrmime and colombe. While these libraries are very capable, th= ey aren't that simple to use, letters is trying to fill t= hat gap. Anyway, big thanks for the authors of these projects for doing the heavy lifting.

As this library is still in its early stage, I believe I will break the API= with first few releases. Luckily the API is quite simple so following these changes should be quite = easy.

To make this library awesome, any feedback or feature request is welcome. I= 'll try to address them as quickly as I can.

I hope I've managed to scratch someone else's itch too, enjoy.

A question about Ocaml

Deep in this theard, Yawar Amin said

A few ReasonML books:

Alcotest 1.2.0

Craig Ferguson announced

I'm pleased to announce the release of Alcotest 1.2.0, now available on Opam.

This release includes:

  • a new alcotest-mirage package for running tests on MirageO= S;
  • full UTF-8 support;
  • default coloured output in Dune (without needing to pass --no-buf= fer);
  • an improved output format.

The full changelog is available here.

3D"ac89cfe4dfee=

Thanks to our many contributors in this release cycle.

Set up OCaml 1.1.0

Sora Morimoto announced

This release contains these changes:

  • The default opam repository can now be set via input.
  • Linux VMs now use opam 2.0.7.

https:/= /github.com/avsm/setup-ocaml/releases/tag/v1.1.0

Sora Morimoto then added

In fact, this release was a long time ago, but I completely forgot to post = this. By the way, we have made significant improvements to some of the documentation. In particular, = the action versioning section is applicable to other GitHub Actions and definitely worth reading! = https://github.com/avsm/setup-ocaml#how-to-specify-the-version

Old CWN

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

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

--=-=-=--