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)
|
PDF
Author's Accepted Manuscript
Language: English |
|
|
Download this file (PDF/435kB) |
Preview |
| Request a format suitable for use with assistive technology e.g. a screenreader | |
| Official URL: https://ocaml.org/workshops/ocaml-workshop-2020 |
|
| Additional URLs: |
|
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, |
| Institutional Unit: | Schools > School of Computing |
| Former Institutional Unit: |
Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing
|
| Depositing User: | Simon Thompson |
| Date Deposited: | 17 Feb 2023 10:38 UTC |
| Last Modified: | 22 Jul 2025 09:14 UTC |
| Resource URI: | https://kar.kent.ac.uk/id/eprint/100124 (The current URI for this page, for reference purposes) |
- Link to SensusAccess
- Export to:
- RefWorks
- EPrints3 XML
- BibTeX
- CSV
- Depositors only (login required):

https://orcid.org/0000-0002-2350-301X
Total Views
Total Views