Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation 2019
DOI: 10.1145/3314221.3314600
|View full text |Cite
|
Sign up to set email alerts
|

Characterising renaming within OCaml’s module system: theory and implementation

Abstract: We present an abstract, set-theoretic denotational semantics for a signiicant subset of OCaml and its module system in order to reason about the correctness of renaming value bindings. Our abstract semantics captures information about the binding structure of programs. Crucially for renaming, it also captures information about the relatedness of diferent declarations that is induced by the use of various diferent language constructs (e.g. functors, module types and module constraints). Correct renamings are pr… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2019
2019
2023
2023

Publication Types

Select...
2
1

Relationship

1
2

Authors

Journals

citations
Cited by 3 publications
(1 citation statement)
references
References 27 publications
0
1
0
Order By: Relevance
“…Consequently, the phenomenon we observe here is distinct from the notion of a refactoring precondition [6]. We have formalised the above notions of value extension and renaming dependency for a large subset of OCaml using an abstract denotational model [7]. This has allowed us to characterise when two declarations should be considered related, and thus need to be renamed together.…”
Section: Introductionmentioning
confidence: 99%
“…Consequently, the phenomenon we observe here is distinct from the notion of a refactoring precondition [6]. We have formalised the above notions of value extension and renaming dependency for a large subset of OCaml using an abstract denotational model [7]. This has allowed us to characterise when two declarations should be considered related, and thus need to be renamed together.…”
Section: Introductionmentioning
confidence: 99%