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 |
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) |
- Link to SensusAccess
- Export to:
- RefWorks
- EPrints3 XML
- BibTeX
- CSV
- Depositors only (login required):