Extending OCaml's 'open'

05/16/2019
by   Runhang Li, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/07/2022

Removing Qualified Names in Modular Languages

Although the notion of qualified names is popular in module systems, it ...
research
11/05/2018

A human-editable Sign Language representation for software editing---and a writing system?

To equip SL with software properly, we need an input system to represent...
research
05/11/2020

A modular extension for a computer algebra system

Computer algebra systems are complex software systems that cover a wide ...
research
06/27/2023

DrNLA: Extending Verification to Non-linear Programs through Dual Re-writing

For many decades, advances in static verification have focused on linear...
research
06/23/2022

A Design of A Simple Yet Effective Exercise Recommendation System in K-12 Online Learning

We propose a simple but effective method to recommend exercises with hig...
research
09/07/2021

OSKR/OKAI: Systematic Optimization of Key Encapsulation Mechanisms from Module Lattice

In this work, we make systematic optimizations of key encapsulation mech...
research
04/26/2020

pexm: a JAGS module for applications involving the piecewise exponential distribution

In this study, we present a new module built for users interested in a p...

Please sign up or login with your details

Forgot password? Click here to reset