2024-07-29

[Caml-list] Call for Participation, Functional Software Architecture (Sep 6, Milan)

======================================================================

*** FUNARCH 2024 -- CALL FOR PARTICIPATION ***

The Second ACM SIGPLAN Workshop on
Functional Software Architecture - FP in the Large

6th September 2024, Milan, Italy
Co-located with ICFP 2024

https://www.functional-architecture.org/events/funarch-2024/

======================================================================

BACKGROUND:

The ACM SIGPLAN Workshop on Functional Software Architecture - FP
in the Large aims to disseminate and enable the use of functional
programming in the large and long-lived software projects.

We specifically want:

- To assemble a community interested in software architecture
techniques and technologies specific to functional programming;

- To identify, categorize, and document topics relevant to
the field of functional software architecture;

- To connect the functional programming community to the software
architecture community to cross-pollinate between the two.

We'd love for you to be part of this effort. Whatever your
background, you're welcome at FUNARCH - to listen to talks, report
on your experience, and interact with others that share our goals.

See you at FUNARCH!

REGISTRATION:

You can register for the workshop via the registration page for
the ICFP conference, but there's no need to also register for
the conference. Reduced fees are available until 5th August.
http://icfp24.sigplan.org/attending/registration

KEYNOTE:

Architecting Functional Programs
Marco Sampellegrini

ACCEPTED SUBMISSIONS:

F3: A Compiler For Feature Engineering
Weixi Ma, Arnaud Venet, Junhua Gu, Subbu Subramanian, Siyu Wang, Rocky Liu (Meta)
Daniel Friedman, Yafei Yang (Indiana University)

Design and implementation of a verified interpreter for additive manufacturing programs
Matthew Sottile, Mohit Tekriwal (Lawrence Livermore National Laboratory)

Applying Continuous Formal Methods to Cardano
James Chapman, Arnaud Bailly, Polina Vinogradova (IOHK)

Continuations: what have they ever done for us?
Marc Kaufmann (Austriae Central European University), Bogdan Popa

Bidirectional Data Transformations
Marcus Crestani, Markus Schlegel, Marco Schneider (Active Group)

PROGRAM CHAIRS:

Mike Sperber (Active Group, Germany)
Perdita Stevens (University of Edinburgh, UK)

PROGRAM COMMITTEE:

Annette Bieniusa (University of Kaiserslautern)
Jeffrey Young (IOG)
Will Crichton (Brown University)
Isabella Stilkerich (Schaeffler Technologies AG)
Kiko Fernandez-Reyes (Ericsson)
Ryan Scott (Galois)
Satnam Singh (Groq)
Facundo Dominguez (Tweag)
Ilya Sergey (University of Singapore)
Martin Elsman (University of Copenhagen)
Benjamin Pierce (University of Pennsylvania)
Matthew Flatt (University of Utah)
Nada Amin (Harvard University)
Richard Eisenberg (Jane Street)

WORKSHOP VENUE:

The workshop will be co-located with the ICFP 2024 conference at
the Milano Convention Centre, Milan, Italy.

======================================================================

2024-07-19

[Caml-list] POPL 2025: Final Call for Workshops and Co-located Events (July 26 AOE)

FINAL CALL FOR WORKSHOPS AND CO-LOCATED EVENTS

                    POPL 2025

      52nd ACM SIGPLAN-SIGACT  Symposium on
      Principles of Programming Languages

         Sun 19 - Sat 25, January 2025
           Denver, Colorado, United States

          https://popl25.sigplan.org

The 52nd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2025) will be held in Denver, Colorado, United States.

POPL provides a forum for the discussion of fundamental principles and important innovations in the design, definition, analysis, transformation, implementation and verification of programming languages, programming systems, and programming abstractions.

Events focusing on experimental and theoretical topics are welcome.

Proposals are invited for workshops and other events to be co-located with POPL 2025. All co-located events are sponsored by SIGPLAN (http://acm.org/sigplan/).

Workshops should be more informal and focused than POPL itself, and include sessions that enable interaction among the workshop attendees. The preference is for one-day workshops, but other schedules can also be considered.

---------------------------------------------------------------------

Submission details

Deadline for submission: 26 July 2024

Notification of acceptance: 2 August 2024

A workshop proposal should provide the following information:

* Name of the workshop.
* Duration of the workshop.
* Whether the workshop will be Conference-approved or SIGPLAN-approved (see below).
* Organizers: names, affiliation, contact information, brief (100 words) biography.
* A short description (150-200 words) of the topic.
* Event format: workshop; type of submissions if any; review process; results dissemination.
* Expected attendance and target audience.
* Potential PC members - please do not contact them before the workshop is approved.
* History of the workshop.
* Plans for remote participation

Proposals must be submitted in PDF form by email with the subject POPL 2025 Workshop Proposal: [workshop name], to the workshop co-chairs: Christoph Matheja (chmat@dtu.dk) and Robert Rand (rand@uchicago.edu).

---------------------------------------------------------------------

SIGPLAN Sponsorship

POPL co-located events are sponsored by SIGPLAN (http://sigplan.org/). There are two kinds of co-located events: Conference-approved (no proceedings) and SIGPLAN-approved (proceedings in the ACM Digital Library). See http://www.sigplan.org/Resources/Guidelines/Workshops/ for more information, including a full listing of prescriptions for Conference-approved and SIGPLAN-approved workshops.

SIGPLAN-approved workshops must respect the SIGPLAN Diversity Policy. Proposals for SIGPLAN-approved workshops must additionally include the gender, country of affiliation, and professional status of potential PC members. See https://www.sigplan.org/Resources/Policies/Diversity/ for more details.

---------------------------------------------------------------------

Selection committee

All submissions will be evaluated by a committee comprising the workshops co-chairs, the general chair, and the program chair.

---------------------------------------------------------------------

Further information

Any questions regarding POPL 2025 co-located event proposals should be addressed to the workshops chairs Christoph Matheja (chmat@dtu.dk) and Robert Rand (rand@uchicago.edu).

2024-07-03

[Caml-list] IFL 2024: Second Call for Papers

=======================================================================
IFL 2024

36rd Symposium on Implementation and Application of Functional Languages


venue: Radboud University Nijmegen, The Netherlands
August 26 - 28 2024

https://ifl24.cs.ru.nl

=======================================================================

### Scope

The goal of the IFL symposia is to bring together researchers actively
engaged in the implementation and application of functional and
function-based programming languages. IFL 2024 will be a venue for
researchers to present and discuss new ideas and concepts, work in
progress, and publication-ripe results related to the implementation and
application of functional languages and function-based programming.


### Industrial track and topics of interest

Topics of interest to IFL include, but are not limited to:

- language concepts
- type systems, type checking, type inferencing
- compilation techniques
- staged compilation
- run-time function specialisation
- run-time code generation
- partial evaluation
- (abstract) interpretation
- meta-programming
- generic programming
- automatic program generation
- array processing
- concurrent/parallel programming
- concurrent/parallel program execution
- embedded systems
- web applications
- (embedded) domain specific languages
- security
- novel memory management techniques
- run-time profiling performance measurements
- debugging and tracing
- virtual/abstract machine architectures
- validation, verification of functional programs
- tools and programming techniques


### Peer-review process

Following IFL tradition, IFL 2024 will use a post-symposium review
process to produce the formal proceedings.

Before the symposium authors submit draft papers. These draft papers
will be screened by the program chairs to make sure that they are within
the scope of IFL. The draft papers will be made available to all
participants at the symposium. Each draft paper is presented by one of
the authors at the symposium.

After the symposium, a formal review process will take place, conducted
by the program committee. Reviewing is single blind. There will be at
least 3 reviews per paper. The reviewers have 6 weeks to write their
reviews. For the camera-ready version the authors can make minor
revisions which are accepted without further reviewing.


### Important dates

Submission deadline of draft papers August 4th, 2024
Notification of acceptance for presentation August 6th, 2024
Early registration deadline August 11th, 2024
Late registration deadline August 21th, 2024
IFL symposium August 26-28, 2024
Submission of papers for proceedings December 1st, 2024
Notification of acceptance February 2nd, 2025
Camera-ready version March 2nd, 2025


### Submission details and Registration

All contributions must be written in English. Papers must use the ACM
two columns conference format, which can be found at:

http://www.acm.org/publications/proceedings-template

Submit your paper here:

https://easychair.org/conferences/?conf=ifl20240

Registration

https://ifl24.cs.ru.nl/Registration


### Peter Landin Prize

The Peter Landin Prize is awarded to the best paper presented at the
symposium every year. The honoured article is selected by the program
committee based on the submissions received for the formal review
process. The prize carries a cash award equivalent to 150 Euros.


### Organisation

PC Chairs:
Mart Lubbers Radboud University, The Netherlands

Local Chairs:
Peter Achten Radboud University, The Netherlands
Sven-Bodo Scholz, Radboud University, The Netherlands


### Program committee:

Benoît Montagu, University of Lorraine, Inria, France
Christos Dimoulas, Northwestern University, USA
Edsko de Vries, Well-typed, The Netherlands
Fritz Henglein, University of Copenhagen, Denmark
Ian Mackie, University of Sussex, UK
Jason Hemann, Seton Hall University, USA
João Saraiva, Universidade do Minho, Portugal
Jurriaan Hage, Heriot-Watt University, UK
Kenichi Asai, Ochanomizu University, Japan
Maja Kirkeby, Roskilde University, Denmark
Marco Morazán, Seton Hall University, USA
Neil Mitchell, Facebook, UK
Ralf Laemmel, University of Koblenz Landau, Germany
Rinus Plasmeijer, TOP Software/Radboud University, The Netherlands
Stephen Chang, UMass Boston, USA
Tim Steenvoorden, Open University, The Netherlands
Tom Schrijvers, KU Leuven, Belgium
Yusuf Moosa Motara, Rhodes University, South Africa


### Venue

IFL 2024 will be held physically in Nijmegen, the Netherlands. See the
website for more information.

https://ifl24.cs.ru.nl


### Acknowledgments

This call-for-papers is an adaptation and evolution of content from
previous instances of IFL. We are grateful to prior organisers for their
work, which is reused here.

2024-06-22

[Caml-list] UNIF 2024 - Call for Participation

[Apologies for multiple copies]

     UNIF 2024: CALL FOR PARTICIPATION
The 38th International Workshop on Unification
             Nancy, France, July 2, 2024
A satellite workshop of CADE/IJCAR, affiliated with IJCAR

Website: https://lat.inf.tu-dresden.de/unif2024


* The International Workshop on Unification (UNIF) is a yearly forum
  devoted to unification theory and its applications. Unification is
  concerned with the problem of making two given terms equal, either
  syntactically or modulo an equational theory. It is a fundamental
  process used in various areas of computer science, including automated
  reasoning, term rewriting, logic programming, natural language
  processing, program analysis, knowledge representation, types, etc.

* A non-exhaustive list of topics of interest includes: syntactic and
  equational unification algorithms; matching and constraint solving;
  higher-order unification; unification in modal, temporal, and
  description logics; admissibility of inference rules; narrowing;
  disunification; anti-unification; complexity issues; combination
  methods; implementation techniques; applications.

* Invited speakers: George Metcalfe (University of Bern), Daniele
  Nantes-Sobrinho (Universidade de Brasília, Imperial College London)

* The details of the invited talks, list of accepted contributions and
  the schedule of technical program are available on the webpage.

* Registration: visit the IJCAR registration webpage at:
  https://merz.gitlabpages.inria.fr/2024-ijcar/page/registration/
  (registration possible until June 24)

2024-06-17

[Caml-list] PLMW@ICFP'24: Final call for Participation (travel funding application by June 21)

APPLICATION FOR PLMW TRAVEL FUNDING

For full consideration for scholarship funding, please apply at the link below by June 21, AoE. We will notify accepted attendees in a rolling fashion until all funding is committed.

The application can be accessed at the following URL  (Apply by June 21, 2024 AOE for full consideration!):
https://forms.gle/vC6udnMWRvvAczPR6

—--------------------------------------------------------------

ACM SIGPLAN Programming Languages Mentoring Workshop (PLMW) at ICFP 24, Milan, Italy

Workshop: Monday, September 2, 2024
Website: https://icfp24.sigplan.org/home/PLMW-ICFP-2024

PLMW is a workshop co-located with ICFP 2024 (the International Conference on Functional Programming) in Milan, Italy, from September 2-7.

The purpose of this mentoring workshop is to encourage graduate students and senior undergraduate students to pursue careers in programming language research. This workshop will bring together world leaders in programming languages research and teaching from academia and industry to help students imagine how they might contribute to our research community. Topics will range from the abstract (e.g., what is PL research and how does one become involved in it) to the concrete (e.g., how to navigate an academic conference, how to pick a research area) as well as technical talks on cutting-edge topics.

We especially encourage women and underrepresented minority students, and people with disabilities to attend PLMW.

This workshop is part of the activities surrounding ICFP, and takes place the day before the main conference. One goal of the workshop is to make the ICFP conference more accessible to newcomers. We hope that participants will stay through the entire conference.

Note that ICFP and PLMW are planned to be largely in-person events. While we recognize that travel to conferences is not easy for everyone, we do hope you will be able to join us in person to get the most out of the conference and its community-building aspects.

A number of sponsors have generously donated scholarship funds for qualified students to attend PLMW. These scholarships can cover expenses (airfare, hotel, and registration fees) for attendance at both the workshop and the ICFP conference.

Students attending this year will get one year free student membership of SIGPLAN, unless they prefer to opt out during their application.

The workshop registration is open to all. Students with alternative sources of funding are welcome as well.


2024-06-13

[Caml-list] POPL 2025: Call for Workshops and Co-located Events

CALL FOR WORKSHOPS AND CO-LOCATED EVENTS

                    POPL 2025

      52nd ACM SIGPLAN-SIGACT  Symposium on
      Principles of Programming Languages

         Sun 19 - Sat 25, January 2025
           Denver, Colorado, United States

          https://popl25.sigplan.org

The 52nd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2025) will be held in Denver, Colorado, United States.

POPL provides a forum for the discussion of fundamental principles and important innovations in the design, definition, analysis, transformation, implementation and verification of programming languages, programming systems, and programming abstractions.

Events focusing on experimental and theoretical topics are welcome.

Proposals are invited for workshops and other events to be co-located with POPL 2025. All co-located events are sponsored by SIGPLAN (http://acm.org/sigplan/).

Workshops should be more informal and focused than POPL itself, and include sessions that enable interaction among the workshop attendees. The preference is for one-day workshops, but other schedules can also be considered.

---------------------------------------------------------------------

Submission details

Deadline for submission: 26 July 2024

Notification of acceptance: 2 August 2024

A workshop proposal should provide the following information:

* Name of the workshop.
* Duration of the workshop.
* Whether the workshop will be Conference-approved or SIGPLAN-approved (see below).
* Organizers: names, affiliation, contact information, brief (100 words) biography.
* A short description (150-200 words) of the topic.
* Event format: workshop; type of submissions if any; review process; results dissemination.
* Expected attendance and target audience.
* Potential PC members - please do not contact them before the workshop is approved.
* History of the workshop.
* Plans for remote participation

Proposals must be submitted in PDF form by email with the subject POPL 2025 Workshop Proposal: [workshop name], to the workshop co-chairs: Christoph Matheja (chmat@dtu.dk) and Robert Rand (rand@uchicago.edu).

---------------------------------------------------------------------

SIGPLAN Sponsorship

POPL co-located events are sponsored by SIGPLAN (http://sigplan.org/). There are two kinds of co-located events: Conference-approved (no proceedings) and SIGPLAN-approved (proceedings in the ACM Digital Library). See http://www.sigplan.org/Resources/Guidelines/Workshops/ for more information, including a full listing of prescriptions for Conference-approved and SIGPLAN-approved workshops.

SIGPLAN-approved workshops must respect the SIGPLAN Diversity Policy. Proposals for SIGPLAN-approved workshops must additionally include the gender, country of affiliation, and professional status of potential PC members. See https://www.sigplan.org/Resources/Policies/Diversity/ for more details.

---------------------------------------------------------------------

Selection committee

All submissions will be evaluated by a committee comprising the workshops co-chairs, the general chair, and the program chair.

---------------------------------------------------------------------

Further information

Any questions regarding POPL 2025 co-located event proposals should be addressed to the workshops chairs Christoph Matheja (chmat@dtu.dk) and Robert Rand (rand@uchicago.edu).

2024-06-11

[Caml-list] Attn: Development Editor, Latest OCaml Weekly News

OCaml Weekly News

Previous Week Up Next Week

Hello

Here is the latest OCaml Weekly News, for the week of June 04 to 11, 2024.

Providing Opam system dependancies with Nix

Ryan announced

I've opened a PR with input from @dra27 and @avsm adding support for Nix depexts (system dependencies) to Opam.

Opam supports system dependencies for other platforms by invoking the system package manager, e.g. apt-get install .... However Nix is a bit different, as in general installing a package to your system doesn't create the development environment required to use it; it will only add executables to your $PATH. To find, for example, objects files, outside of a Nix derivation you can use nix-shell and it's descendant nix develop. E.g.:

  $ nix-shell -p gmp  $ echo $NIX_LDFLAGS  -rpath /nix/store/20g5iw2r512gnfrdr4imp2y940v3vlif-shell/lib  -L/nix/store/rx6nkd40819acppajq29g1hxa4d9r35f-gmp-with-cxx-6.3.0/lib -L/nix/store/rx6nkd40819acppajq29g1hxa4d9r35f-gmp-with-cxx-6.3.0/lib  

We support Nix depexts with Opam in a similar way. A Nix derivation is build with the desired packages as inputs, and the resulting environment is output as a file in the Opam switch in a format that Opam can parse. This nix.env file is a symlink into the Nix store, so acts as a garbage collection root – packages won't be removed from the store while this file exists. Opam outputs these environment variables on an invocation of opam env.

This fixes issues such as https://discuss.ocaml.org/t/opam-and-nixos-is-there-an-alternative-to-nix-shell/13726.

While the primary use case is on NixOS, this depext mechanism could be used on other platforms to provide a consistent experience including other Linux distributions, BSDs, (and possibly even windows in the future).

Nixpkgs typically only packages one version of a package at a time, but I'm working on versioned depexts with previous version of Nixpkgs as outlined here.

I'm keen to get people's opinions and perspective on this!

ppx_deriving.6.0.2 and ppx_deriving_yojson.3.8.0

Nathan Rebours announced

I am happy to announce the release of ppx_deriving.6.0.2 and ppx_deriving_yojson.3.8.0, the first release of those packages in years!

The main feature here is the port of ppx_deriving's standard derivers ([@@deriving show, make, ord, eq, ...]) and ppx_deriving_yojson to ppxlib's Deriving api. There are no changes to how you'd use those derivers but many benefits:

  • Better performances and better integration with other ppx-es as the code is now generated as part of ppxlib's driver main AST rewriting phase rather than in a separate, dedicated phase.
  • They can now be used with [@@deriving_inline]
  • None of them will break the location invariant required by merlin anymore, fixing a long lasting bug and providing a much better user experience.

You can find the full release notes for ppx_deriving here and for ppx_deriving_yojson here.

I'd like to thank @sim642 for all their work on the ppxlib ports and their patience, and all our other contributors.

I'd also like to thank the OCaml Software Foundation who has been funding my work on those releases.

Effective ML Through Merlin's Destruct Command

Xavier Van de Woestyne announced

I'm very pleased to present you an article with a collection of small illustrations and examples of how to use the destruct command to generate patterns in the presence of pattern matches.

The command has been present in Merlin for several years (and accessible via OCaml-LSP) but, as the various changelogs relating to Merlin mention, we have spent some time polishing it and adapting it to the evolutions of OCaml, making it more stable (essentially in the presence of punning) and taking into account the changes made to the representation of functions (and their parameters).

The aim of the article is to show how the destruct command works in a number of very concrete cases, and ends with an example (a little artificial for the purposes of the article and for teaching purposes) which shows how to use destruct interactively.

Can't wait to hear your feedback! Happy reading!

OCaml Windows Working Group

Sudha Parimala announced

I'm happy to share that we're starting a working group for OCaml Windows. This is part of a larger effort, First-class Windows, to enhance the OCaml experience on Windows. Through this effort, we aim to coordinate our collective knowledge to identify high-priority items for First-class Windows.

We've started a mailing list to exchange ideas and would greatly appreciate inputs. You can sign up at – https://groups.google.com/u/0/g/ocaml-windows-wg

While the mailing list is intended to be the primary means of communication, we plan to do a sync meeting once a month, to start with. We plan to do a kick-off meeting early next week. Please fill in this poll if you're interested to join: https://strawpoll.com/polls/PbZqbmkNeyN.

Happy camling :camel:

Flambda2 Ep. 2: Loopifying Tail-Recursive Functions, by OCamlPro

OCamlPro announced

Greetings Cameleers,

We would like to share with you our latest Flambda2 Snippet: Flambda2 Ep. 2: Loopifying Tail-Recursive Functions!

Indeed, today's topic is what is called Loopify, one of the many optimisation algorithms found in the Flambda2 optimising compiler project.

We believe Loopify is a nicely representative piece of software for our readers to grasp at the general design and philosophy for all optimisations available in Flambda2! Hopefully, you will do too!

Be sure to check out the Flambda2 Ep.0 article to get all the context for the project itself and the series of blog posts!

In any case, we await your feedback below, and hope that you will enjoy reading this post, and all ensuing ones!

Kind regards, The OCamlPro Team

OCaml Platform Newsletter: March-May 2024

Thibaut Mattio announced

Welcome to the eleventh edition of the OCaml Platform newsletter!

In this March-May 2024 edition, we are excited to bring you the latest on the OCaml Platform, continuing our tradition of highlighting recent developments as seen in previous editions. To understand the direction we're headed, especially regarding development workflows and user experience improvements, check out our roadmap.

Highlights:

  • Explorations on Dune package management have reached a Minimal-Viable-Product (MVP) stage: a version of Dune that can build non-trivial projects like OCaml.org and Bonsai. With a working MVP, the team is shifting their focus to putting Dune package management in the hands of the community. To that end, we have started the Dune Developer Preview Program, where we will test Dune package management with users and refine the user experience in preparation for a final release.
  • The opam team released a second beta of opam 2.2, and with it, opened the final PR to add support for Windows OCaml to the opam-repository. Once the PR is merged, opam 2.2 will be usable with the upstream opam-repository on Windows, paving the way for a third beta very soon, and a Release Candidate next.
  • The odoc team has finalized the initial design for Odoc 3.0 and opened several RFCs to gather community input. We've implemented a new Odoc driver that follows the Odoc 3.0 design and have already started prototyping key parts of the design.
  • Merlin's project-wide references query is getting very close to release. The necessary compiler PR has been merged and included in OCaml 5.2, and the Dune rules PR has been merged and included in Dune 3.16. The next steps are to merge the PR in Merlin itself and the small patch in OCaml LSP.
  • The set of standard derivers shipped with ppx_deriving.std (i.e. [@@deriving show, make, ord, eq, ...]) as well as ppx_deriving_yojson are now directly written against Ppxlib's API. That impacts developers in two ways. First, it allows you to enjoy reliable editor features in projects with those derivers (Ppxlib preserves Merlin's location invariants). Second, you can avoid a hard dependency on those derivers by using Ppxlib's deriving_inline feature on them. Thanks a lot to @sim642 for all your work and very kind patience, @NathanReb for reviewing and release managing, and everyone else involved!

Releases:

[Dune] Exploring Package Management in Dune (W4)

Contributed by: @rgrinberg (Tarides), @Leonidas-from-XIV (Tarides), @gridbugs (Tarides), @Alizter

Why: Unify OCaml tooling under a single command line for all development workflows. This addresses one of the most important pain points reported by the community.

What: Prototyping the integration of package management into Dune using opam as a library. We're introducing a dune pkg lock command to generate a lock file and enhancing dune build to handle dependencies in the lock file. More details in the Dune RFC.

Summary:

Over the past three months, significant progress has been made in adding Dune's support for package management. We are thrilled to report that our prototypes have reached a Minimal Viable Product (MVP) stage: an experimental version of Dune package management that can be used to build non-trivial projects, including OCaml.org and Bonsai, which we are using in our tests.

There is still a long way to go, but with this milestone reached, we are now shifting our focus from prototyping to putting the feature in the hands of the community. We are moving to testing the new Dune feature with users, and in particular, now that we have a good understanding of the technical blockers and their workarounds, we will be focusing on validating and refining the developer experience (DX) of Dune package management in preparation for a first release.

To that end, the Dune team has started a Dune Developer Preview Program. We're currently testing the Developer Preview of package management with selected beta testers, and once the biggest issues have been addressed, we'll be opening it to the broader community.

Activities:

[opam] Native Support for Windows in opam 2.2 (W5)

Contributed by: @rjbou (OCamlPro), @kit-ty-kate (Ahrefs), @dra27 (Tarides), @AltGr (OCamlPro)

Why: Enhance OCaml's viability on Windows by integrating native opam and opam-repository support, fostering a larger community, and more Windows-friendly packages.

What: Releasing opam 2.2 with native Windows support, making the official opam-repository usable on Windows platforms.

Summary:

The opam team is getting closer to a final release of opam 2.2 with support for Windows. In the past months, we have released a second beta of opam 2.2, addressing a number of issues reported by users on previous releases, including Windows issues.

Excitingly, we also opened the final PR adding support for Windows OCaml to opam-repository. With the PR merged, the opam team is expecting to be able to move to a Release Candidate in June.

Stay tuned for more exciting news and releases in the coming weeks and months!

Activities:

[​odoc​] Odoc 3.0: Unify OCaml.org and Local Package Documentation (W25)

Contributed by: @jonludlam (Tarides), @julow (Tarides), @panglesd (Tarides), Luke Maurer (Jane Street)

Why: Improving local documentation generation workflow will help package authors write better documentation for their packages, and consolidating the different odoc documentation generators will help make continuous improvements to odoc available to a larger audience.

What: We will create conventions that drivers must follow to ensure that their output will be functional. Once established, we will update the Dune rules to follow these rules, access new odoc features (e.g., source rendering), and provide similar functionalities to docs.ocaml.org (a navigational sidebar, for instance). This will effectively make Dune usable to generate OCaml.org package documentation.

Summary:

The Odoc team has made significant progress on the upcoming Odoc 3.0. We held productive in-person meetings in Paris to discuss crucial design aspects such as the CLI, source code rendering, and references. These discussions led to the publications of RFCs for the various components of the design specification.

We also started implementing a new Odoc driver that adheres to the new design for testing purposes, and began prototyping several of the new features.

While discussions on the RFCs and specific features are still ongoing, we are very excited to have a solid set of design specifications under community review and to have begun implementing key parts of the new design.

Activities:

[Merlin] Support for Project-Wide References in Merlin (W19)

Contributed by: @vds (Tarides), @Ekdohibs (OCamlPro), @Octachron (INRIA), @gasche (INRIA), @emillon (Tarides), @rgrinberg (Jane Street), @Julow (Tarides)

Why: Enhance code navigation and refactoring for developers by providing project-wide reference editor features, aligning OCaml with the editor experience found in other languages.

What: Introducing ocamlmerlin server occurrences and LSP textDocument/references support, extending compiler's Shapes for global occurrences and integrating these features in Dune, Merlin, and OCaml LSP.

Summary:

The past few months have seen fantastic progress on releasing Merlin's project-wide reference query: The compiler PR got merged and included in the now released OCaml 5.2; The Dune rules PR got merged, and with it significant performance improvements have been made on the indexing tool. The final PR in Merlin is open and under review. That PR as well as the small LSP patch to support the feature are about to be merged.

The PR on Merlin also adds support for the feature in the Merlin server plug-in for Emacs. Support for the Merlin server plug-in for Vim has been added separately. All editor plug-ins based on LSP will support the new feature automatically.

Activities:

  • We followed up on our compiler PR to improve performance for shape aliases weak reduction. It got merged, and made it into OCaml 5.2.0. – ocaml/ocaml#13001
  • We improved the Dune rules that drive the indexer: Simplified the rules, added benchmarks, discussed and improved performance. The PR got merged, and made it into Dune 3.16. - ocaml/dune#10422
  • We polished the indexer ocaml-index: Profiled it and improved its speed by a factor ~2, and improved its CLI.
  • We added a :MerlinOccurrencesProjectWide command to the Vim plug-in based on the Merlin server - ocaml/merlin#1767

OCaml.org Newsletter: May 2024

Sabine Schmaltz announced

Welcome to the May 2024 edition of the OCaml.org newsletter! This update has been compiled by the OCaml.org team. You can find previous updates on Discuss.

Our goal is to make OCaml.org the best resource for anyone who wants to get started and be productive in OCaml. The OCaml.org newsletter provides an update on our progress towards that goal and an overview of the changes we are working on.

We couldn't do it without all the amazing people who help us review, revise, and create better OCaml documentation and work on issues. Your participation enables us to so much more than we could just by ourselves. Thank you!

This newsletter covers:

  • Recipes for the OCaml Cookbook: Help us make the OCaml Cookbook really useful by contributing and reviewing recipes for common tasks!
  • Community & Marketing Pages Rework: We have UI designs for the reworked and new pages of the community section and are starting to implement these. We made progress towards showing videos from the community on the OCaml Planet.
  • General Improvements: As usual, we also worked on general maintenance and improvements, so we're highlighting some of the work that happened below.

Recipes for the OCaml Cookbook

The OCaml Cookbook is a place where OCaml developers share how to solve common tasks using packages from the ecosystem.

A recipe is a code sample and explanations on how to perform a task using a combination of open source libraries.

The Cookbook is live at ocaml.org/cookbook, but there are not a lot of recipes published yet.

When the cookbook was merged, all pull requests to the cookbook branch were automatically closed. We recreated these pull requests and they are ready for review.

Here's how you can help:

  1. Review open pull requests for cookbook recipes!
  2. Contribute new recipes and tasks for the cookbook!

Relevant PRs and Activities:

Community & Marketing Pages Rework

This month, we made some progress towards adding videos from the OCaml community (e.g., from YouTube and watch.ocaml.org) to the OCaml Planet.

Since the size of the OCaml Planet RSS feed grew so large that automation tools (dlvr.it) could no longer process it, we reduced the timeframe for posts to show up in the RSS feed to the last 90 days.

Contributor @ishar19 opened a pull request to add an RSS feed for the Community/Events page. This will allow posting new events to various social media automatically and allow you to subscribe to the Events RSS feed with a RSS reader of your choice.

We have UI designs for the reworked and new pages of the community section and we are opening small issues for contributors to help. :orange_heart:

Relevant PRs and Activities:

Outreachy Internship on Interactive Exercises

On May 27, Divyanka Chaudhari started working with the team, as an Outreachy intern. She's implementing support for running the exercises as a stand-alone project, either in GitHub Codespace, in repl.it, using Jupyter or LearnOcaml.

Relevant PRs and Activities:

## General Improvements and Data Additions

Notable Changes:

  • We restructured the main navigation to have a "Tools" section that holds the OCaml Platform page and the OCaml compiler releases page. This should make the OCaml Platform page easier to find.
  • The Changelog can now be found under "News", from the main navigation. You can also find the OCaml Planet and the Newsletters in this new section.
  • The OCaml Language Manual is now served from OCaml.org, instead of v2.ocaml.org.
  • We added some more links to learning resources to the Resources page at https://ocaml.org/resources.
  • Some documentation updates on "Is OCaml Web Yet?", "Is OCaml GUI Yet?", the ThreadSanitizer tutorial, and the "Functors" tutorial.

Relevant PRs and Activities:

OCaml Windows Working Group

Deep in this thread, Sudha Parimala announced

Thanks to everyone who joined the meeting! Please find the notes here: https://docs.google.com/document/d/1tt-g5f441ClvdGJuK8fvO9Eu2YvWMwDF1wbZ2f8-gsI/edit#heading=h.kwwpagbnenby.

The meeting time this time wasn't US time-zone friendly. We'll try to find a time that works for more people next time.

Registration for Fun OCaml 2024 Opens Shortly

Sabine Schmaltz announced

Registration for Fun OCaml 2024 will open shortly at 17:00 CEST (Central European Summer Time) UTC/GMT +2 hours

Please put yourself on the waiting list if you don't get a ticket immediately, we're doing this in a staggered fashion, unlocking more tickets over the next days! 🧡🐫

https://fun-ocaml.com

opam 2.2.0~beta3

Kate announced

We're once again very excited to announce this third and final beta for opam 2.2.0.

What's new in this beta?

  • opam init on Windows enhancements: this beta greatly improves the opam init user experience on Windows, and the number of recognised configurations
  • opam init –cygwin-extra-packages=\<pkgs\>: a new argument to specify additional packages for the internal Cygwin installation
  • Support of user directories containing spaces: opam now redirects the opam root to C:\opamroot\opam-xxx when the opam root contains spaces on Windows
  • UTF-8 paged –help on Windows thanks to cmdliner 1.3.0 and some additional Windows API calls, all the opam --help commands now display a paged view by default similar to Unix-like systems.
  • Many fixes, performance and general improvements

:open_book: You can read our blog post for more information about these changes and more, and for even more details you can take a look at the release note or the changelog.

Windows issues

Configuration of Windows is tricky, so please don't be too disheartened if things don't work instantly. If something doesn't work first time, please do report it, even if you manage to find a way to workaround it. If opam didn't elegantly tell you what was wrong, then it's a bug and we'd love to hear about it, rather than ending up with a series of workarounds flying around. It's no problem at all for us to receive a bug report which turns out to be user error - we'd far rather that than not hear bugs which are opam's error! 🙀

How to upgrade

  • On Windows

    BEWARE: the command shown below is experimental, use caution and please do report any issues that you are experiencing. If you prefer to not use our experimental script, feel free to get the Windows binary directly from the Release Page and put it in your directory of choice instead.

    Now that the Windows support was merged in opam-repository,

    installing opam is as simple as calling the following command from a PowerShell terminal:

      Invoke-Expression "& { $(Invoke-RestMethod https://raw.githubusercontent.com/kit-ty-kate/opam/windows-installer/shell/install.ps1) }"  

    opening a new terminal, and a simple opam init will work out-of-the-box.

  • On Unix-like systems

    To upgrade, simply run:

      bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh) --version 2.2.0~beta3"  

    We're planning for an opam 2.2.0~rc1 release later next week, so please do report any issue you encounter on our bug-tracker.

Other OCaml News

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 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 to the caml-list.