2019
DOI: 10.4204/eptcs.294.1
|View full text |Cite
|
Sign up to set email alerts
|

Extending OCaml's 'open'

Abstract: We propose a harmonious extension of OCaml's open construct. OCaml's existing construct open M imports the names exported by the module M into the current scope. At present M is required to be the path to a module. We propose extending open to instead accept an arbitrary module expression, making it possible to succinctly address a number of existing scope-related difficulties that arise when writing OCaml programs.

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...

Citation Types

0
0
0

Publication Types

Select...

Relationship

0
0

Authors

Journals

citations
Cited by 0 publications
references
References 9 publications
(15 reference statements)
0
0
0
Order By: Relevance

No citations

Set email alert for when this publication receives citations?