Extending OCaml's 'open'

dc.creatorLi, Runhang
dc.creatorYallop, Jeremy
dc.date2019-06-04T23:30:05Z
dc.date2019-06-04T23:30:05Z
dc.date2019
dc.date.accessioned2026-08-03T04:18:56Z
dc.descriptionWe 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.
dc.formatapplication/pdf
dc.identifier2075-2180
dc.identifierhttps://www.repository.cam.ac.uk/handle/1810/293379
dc.identifier10.17863/CAM.40531
dc.identifier2075-2180
dc.identifier.urihttps://repo.dare.co.zw/handle/123456789/187722
dc.languageeng
dc.publisherOpen Publishing Association
dc.publisherhttps://doi.org/10.4204/eptcs.294.1
dc.rightsAttribution 4.0 International
dc.rightshttps://creativecommons.org/licenses/by/4.0/
dc.subjectcs.PL
dc.subjectcs.PL
dc.titleExtending OCaml's 'open'
dc.typeArticle

Files