Skip to main content
Kent Academic Repository

API migration: compare transformed

Harrison, Joseph Richard, Thompson, Simon, Varoumas, Steven, Rowe, Reuben (2020) API migration: compare transformed. In: OCaml workshop 2020, 28 Aug 2020, virtual. (Unpublished) (KAR id:100124)

Abstract

In this talk we describe our experience in using an automatic API-migration strategy dedicated at changing the signatures of OCaml functions, using the Rotor refactoring tool for OCaml. We perform a case study on open source Jane Street libraries by using Rotor to refactor comparison functions so that they return a more precise variant type rather than an integer. We discuss the difficulties of refactoring the Jane Street code base, which makes extensive use of ppx macros, and ongoing work implementing new refactorings.

Item Type: Conference or workshop item (Speech)
Uncontrolled keywords: refactoring, OCaml, PPX, API evolution
Subjects: Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming,
Divisions: Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing
Funders: Engineering and Physical Sciences Research Council (https://ror.org/0439y7842)
Depositing User: S. Thompson
Date Deposited: 17 Feb 2023 10:38 UTC
Last Modified: 20 Feb 2023 11:08 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/100124 (The current URI for this page, for reference purposes)

University of Kent Author Information

Harrison, Joseph Richard.

Creator's ORCID:
CReDIT Contributor Roles:

Thompson, Simon.

Creator's ORCID: https://orcid.org/0000-0002-2350-301X
CReDIT Contributor Roles:

Rowe, Reuben.

Creator's ORCID: https://orcid.org/0000-0002-4271-9078
CReDIT Contributor Roles:
  • Depositors only (login required):

Total unique views for this document in KAR since July 2020. For more details click on the image.