Removing Qualified Names in Modular Languages

10/07/2022
by   Keehang Kwon, et al.
0

Although the notion of qualified names is popular in module systems, it causes severe complications. In this paper, we propose an alternative to qualified names. The key idea is to import the declarations in other modules to the current module before they are used. In this way, all the declarations can be accessed locally. However, this approach is not efficient in memory usage. Our contribution is the module weakening scheme which allows us to import the minimal parts. As an example of this approach, we propose a module system for functional languages.

READ FULL TEXT

page 1

page 2

page 3

research
05/16/2019

Extending OCaml's 'open'

We propose a harmonious extension of OCaml's 'open' construct. OCaml's...
research
06/30/2020

Zero-divisors of Semigroup Modules

Let $M$ be an $R$-module and $S$ a semigroup. Our goal is to discuss zer...
research
03/18/2023

Modularity and Separate Compilation in Logic Programming

The ability to compose code in a modular fashion is important to the con...
research
07/10/2019

Identifying Algorithm Names in Code Comments

For recent machine-learning-based tasks like API sequence generation, co...
research
05/11/2020

A Pattern-based Approach to Detect and Improve Non-descriptive Test Names

Unit tests are an important artifact that supports the software developm...
research
08/20/2018

Fungi: Typed incremental computation with names

Incremental computations attempt to exploit input similarities over time...
research
10/23/2017

Locally Nameless Permutation Types

We define "Locally Nameless Permutation Types", which fuse permutation t...

Please sign up or login with your details

Forgot password? Click here to reset